JsonExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
JSON
extensions
public static class JsonExtensions
type JsonExtensions = class
Public Module JsonExtensions
- Inheritance
-
JsonExtensions
Fields
JsonContentType |
The JSON content type for HTTP requests. |
JsonMediaTypeSerializer |
The JSON media type serializer. |
JsonObjectTypeSerializer |
The JSON object type serializer. |
MediaSerializationSettings |
The JSON media serialization settings. |
ObjectSerializationSettings |
The JSON object serialization settings. |
Methods
CanConvertTo<TType>(JToken) |
Checks if a conversion from the supplied Newtonsoft.Json.Linq.JToken to a |
FromJson<T>(Stream) |
Deserialize object from a JSON stream. |
FromJson<T>(String) |
Deserialize object from the JSON. |
ToFormattedJson(Object) |
Serialize object to formatted JSON. |
ToJObjectWithValue(IDictionary, IEnumerable) |
Converts an IDictionary object to Newtonsoft.Json.Linq.JObject with an extra level labeled as "value". |
ToJson(Object) |
Serialize object to the JSON. |
ToJToken(Object) |
Serialize object to JToken. |
TryConvertTo<TType>(JToken, TType) |
Checks if a conversion from the supplied Newtonsoft.Json.Linq.JToken to a |
TryConvertTo<TType>(String, TType) |
Checks if a conversion from the supplied Newtonsoft.Json.Linq.JToken to a |