JsonUtility.ToJsonStream method (1 of 2)

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.

See Also


JsonUtility.ToJsonStream method (2 of 2)

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.

See Also