Converts the object to a JSON stream.
public static void ToJsonStream(object value, Stream outputStream)
parameter | description |
---|---|
value | The value. |
outputStream | The stream to write JSON to, using UTF-8 encoding. |
Converts the object to a JSON stream.
public static void ToJsonStream(object value, JsonSettings? settings, Stream outputStream)
parameter | description |
---|---|
value | The value. |
settings | The settings. |
outputStream | The stream to write JSON to, using UTF-8 encoding. |