JSON.StringifyIndented method
Converts object to its JSON representation
public static string StringifyIndented(object? value, bool writeNulls = false)
| parameter | description |
|---|---|
| value | Value to convert to JSON |
| writeNulls | If true, serializes null values. |
Return Value
Serialized JSON string
See Also
- class JSON