JsonUtility.ToJToken method (1 of 2)

Converts the object to a JToken.

public static JToken ToJToken(object value)
parameter description
value The value.

Return Value

The JToken.

See Also


JsonUtility.ToJToken method (2 of 2)

Converts the object to a JToken.

public static JToken ToJToken(object value, JsonSettings? settings)
parameter description
value The value.
settings The settings.

Return Value

The JToken.

See Also