JsonConvert
Provides methods for converting between common language runtime types and JSON types.
Represents JavaScript's boolean value false as a string. This field is read-only.
Represents JavaScript's NaN as a string. This field is read-only.
Represents JavaScript's negative infinity as a string. This field is read-only.
Represents JavaScript's null as a string. This field is read-only.
Represents JavaScript's positive infinity as a string. This field is read-only.
Represents JavaScript's boolean value true as a string. This field is read-only.
Represents JavaScript's undefined as a string. This field is read-only.
Deserializes the specified JSON to the given anonymous type.
Deserializes the specified object to a Json object.
Deserializes the specified object to a Json object.
Deserializes the specified object to a Json object.
Deserializes the JSON string to the specified type.
Deserializes the JSON string to the specified type.
Deserializes the JSON string to the specified type.
Deserializes the JSON string to the specified type.
Deserializes the XmlNode from a JSON string.
Deserializes the XmlNode from a JSON string nested in a root elment.
Populates the object with values from the JSON string.
Populates the object with values from the JSON string.
Serializes the specified object to a JSON string.
Serializes the specified object to a JSON string.
Serializes the specified object to a JSON string using a collection of JsonConverter.
public static string SerializeObject(object value, Formatting formatting, JsonConverter[] converters)
Serializes the specified object to a JSON string using a collection of JsonConverter.
public static string SerializeObject(object value, Formatting formatting, JsonSerializerSettings settings)
Serializes the specified object to a JSON string using a collection of JsonConverter.
Serializes the XML node to a JSON string.
Serializes the XML node to a JSON string.
Converts the DateTime to its JSON string representation.
Converts the Boolean to its JSON string representation.
Converts the Char to its JSON string representation.
Converts the Enum to its JSON string representation.
Converts the Int32 to its JSON string representation.
Converts the Int16 to its JSON string representation.
Converts the UInt16 to its JSON string representation.
Converts the UInt32 to its JSON string representation.
Converts the Int64 to its JSON string representation.
Converts the UInt64 to its JSON string representation.
Converts the Single to its JSON string representation.
Converts the Double to its JSON string representation.
Converts the Byte to its JSON string representation.
Converts the SByte to its JSON string representation.
Converts the Decimal to its JSON string representation.
Converts the Guid to its JSON string representation.
Converts the String to its JSON string representation.
Converts the String to its JSON string representation.
Converts the Object to its JSON string representation.