Helper methods for working with Json.NET.
public static class JsonUtility
name | description |
---|---|
static CreateDefaultJsonSerializerSettings() | Creates default serialization settings. |
static CreateDefaultJsonSerializerSettings(…) | Creates default serialization settings. |
static FromCompressedJson(…) | Creates an object from compressed JSON. (2 methods) |
static FromCompressedJson<T>(…) | Creates an object from compressed JSON. (2 methods) |
static FromJson(…) | Creates an object from JSON. (2 methods) |
static FromJson<T>(…) | Creates an object from JSON. (2 methods) |
static FromJsonTextReader(…) | Creates an object from JSON. (2 methods) |
static FromJsonTextReader<T>(…) | Creates an object from JSON. (2 methods) |
static FromJToken(…) | Creates an object from a JToken. (2 methods) |
static FromJToken<T>(…) | Creates an object from a JToken. (2 methods) |
static GetJsonFormatting(…) | Gets the JSON formatting specified by the settings. |
static ToCompressedJson(…) | Converts the object to compressed JSON. (2 methods) |
static ToJson(…) | Converts the object to JSON. (2 methods) |
static ToJsonByteCount(…) | Returns the number of bytes used by the JSON of an object. (2 methods) |
static ToJsonStream(…) | Converts the object to a JSON stream. (2 methods) |
static ToJsonTextWriter(…) | Converts the object to a JSON text writer. (2 methods) |
static ToJsonWriter(…) | Converts the object to a JSON writer. (2 methods) |
static ToJToken(…) | Converts the object to a JToken. (2 methods) |