JsonUtility.ToJsonTextWriter method (1 of 2)

Converts the object to a JSON text writer.

public static void ToJsonTextWriter(object value, TextWriter textWriter)
parameter description
value The value.
textWriter The text writer to write JSON to.

See Also


JsonUtility.ToJsonTextWriter method (2 of 2)

Converts the object to a JSON text writer.

public static void ToJsonTextWriter(object? value, JsonSettings? settings, TextWriter textWriter)
parameter description
value The value.
settings The settings.
textWriter The text writer to write JSON to.

See Also