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 JSON to the given anonymous type.
Deserializes the JSON to a .NET object.
Deserializes the JSON to a .NET object.
Deserializes the JSON to the specified .NET type.
Deserializes the JSON to the specified .NET type.
Deserializes the JSON to the specified .NET type.
Deserializes the JSON to the specified .NET type.
Deserializes the JSON to the specified .NET type.
Deserializes the JSON to the specified .NET type.
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.
Converts the DateTime to its JSON string representation.
Converts the DateTimeOffset 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 TimeSpan to its JSON string representation.
Converts the Uri 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.