JsonObjectWriteTo(Stream, Encoding, String) Method
Namespace: KGySoft.JsonAssembly: KGySoft.Json (in KGySoft.Json.dll) Version: 3.0.0
public void WriteTo(
	Stream stream,
	Encoding? encoding = null,
	string? indent = null
)
Public Sub WriteTo ( 
	stream As Stream,
	Optional encoding As Encoding = Nothing,
	Optional indent As String = Nothing
)
public:
void WriteTo(
	Stream^ stream, 
	Encoding^ encoding = nullptr, 
	String^ indent = nullptr
)
member WriteTo : 
        stream : Stream * 
        ?encoding : Encoding * 
        ?indent : string 
(* Defaults:
        let _encoding = defaultArg encoding null
        let _indent = defaultArg indent null
*)
-> unit 
Parameters
- stream  Stream
- The Stream to write the JsonObject into.
- encoding  Encoding  (Optional)
- An Encoding that specifies the encoding of the JSON data in the stream.
            If , then UTF8 encoding will be used. This parameter is optional.
            
 Default value: .
- 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: .