JsonExtensions Class
Provides extension methods for reading and writing JSON strings.
Methods:
Name | Description | |
---|---|---|
JsonEscape(String) | Returns an escaped string for use in JSON. | |
ToStringJson(Object) | Returns a formatted JSON string representing the object. | |
ToStringJson(Object, Boolean) | Returns a JSON string representing the object. | |
LoadArray<T>(String) | Parses a JSON snippet of an array value using the default assembly type mappings. | |
LoadArray<T>(String, JsonTypeResolver) | Parses a JSON snippet of an array value. | |
LoadFromJson<T>(T, String) | Parses a JSON string into an existing object using the default assembly type mappings. | |
LoadFromJson<T>(T, String, JsonTypeResolver) | Parses a JSON string into an existing object. |