JsonValueWriteTo(TextWriter, String) Method
Namespace: KGySoft.JsonAssembly: KGySoft.Json (in KGySoft.Json.dll) Version: 3.0.0
public void WriteTo(
TextWriter writer,
string? indent = null
)
Public Sub WriteTo (
writer As TextWriter,
Optional indent As String = Nothing
)
public:
void WriteTo(
TextWriter^ writer,
String^ indent = nullptr
)
member WriteTo :
writer : TextWriter *
?indent : string
(* Defaults:
let _indent = defaultArg indent null
*)
-> unit
Parameters
- writer TextWriter
- A TextWriter to write the JsonValue into.
- indent String (Optional)
- Specifies the indentation string to produce a formatted JSON.
If or empty, then a minimized JSON is returned. Using non-whitespace characters may produce an invalid JSON. This parameter is optional.
Default value: .