JsonUtility.ToCompressedJson method (1 of 2)

Converts the object to compressed JSON.

public static byte[] ToCompressedJson(object value)
parameter description
value The value.

Return Value

The compressed JSON (as compressed by StringUtility).

See Also


JsonUtility.ToCompressedJson method (2 of 2)

Converts the object to JSON.

public static byte[] ToCompressedJson(object value, JsonSettings? settings)
parameter description
value The value.
settings The settings.

Return Value

The JSON.

See Also