Methods
-
Deserialize
Anonymous static Deserializes the JSON to the given anonymous type.Type``1(String, ``0) -
Deserialize
Anonymous static Deserializes the JSON to the given anonymous type using JsonSerializerSettings.Type``1(String, ``0, Json Serializer Settings) -
Deserialize
Object(String) static Deserializes the JSON to a .NET object. -
Deserialize
Object(String, static Deserializes the JSON to a .NET object using JsonSerializerSettings.Json Serializer Settings) -
Deserialize
Object(String, static Deserializes the JSON to the specified .NET type.Type) -
Deserialize
Object(String, static Deserializes the JSON to the specified .NET type using a collection of JsonConverter.Type, Json Converter[]) -
Deserialize
Object(String, static Deserializes the JSON to the specified .NET type using JsonSerializerSettings.Type, Json Serializer Settings) -
Deserialize
Object``1(String) static Deserializes the JSON to the specified .NET type. -
Deserialize
Object``1(String, static Deserializes the JSON to the specified .NET type using a collection of JsonConverter.Json Converter[]) -
Deserialize
Object``1(String, static Deserializes the JSON to the specified .NET type using JsonSerializerSettings.Json Serializer Settings) -
Deserialize
XNode(String) static Deserializes the XNode from a JSON string. -
Deserialize
XNode(String, static Deserializes the XNode from a JSON string nested in a root element specified by deserializeRootElementName.String) -
Deserialize
XNode(String, static Deserializes the XNode from a JSON string nested in a root element specified by deserializeRootElementName and writes a Json.NET array attribute for collections.String, Boolean) -
Deserialize
XNode(String, static Deserializes the XNode from a JSON string nested in a root element specified by deserializeRootElementName, writes a Json.NET array attribute for collections, and encodes special characters.String, Boolean, Boolean) -
Deserialize
Xml static Deserializes the XmlNode from a JSON string.Node(String) -
Deserialize
Xml static Deserializes the XmlNode from a JSON string nested in a root element specified by deserializeRootElementName.Node(String, String) -
Deserialize
Xml static Deserializes the XmlNode from a JSON string nested in a root element specified by deserializeRootElementName and writes a Json.NET array attribute for collections.Node(String, String, Boolean) -
Deserialize
Xml static Deserializes the XmlNode from a JSON string nested in a root element specified by deserializeRootElementName, writes a Json.NET array attribute for collections, and encodes special characters.Node(String, String, Boolean, Boolean) -
Populate
Object(String, static Populates the object with values from the JSON string.Object) -
Populate
Object(String, static Populates the object with values from the JSON string using JsonSerializerSettings.Object, Json Serializer Settings) -
Serialize
Object(Object) static Serializes the specified object to a JSON string. -
Serialize
Object(Object, static Serializes the specified object to a JSON string using formatting.Formatting) -
Serialize
Object(Object, static Serializes the specified object to a JSON string using formatting and a collection of JsonConverter.Formatting, Json Converter[]) -
Serialize
Object(Object, static Serializes the specified object to a JSON string using formatting and JsonSerializerSettings.Formatting, Json Serializer Settings) -
Serialize
Object(Object, static Serializes the specified object to a JSON string using a collection of JsonConverter.Json Converter[]) -
Serialize
Object(Object, static Serializes the specified object to a JSON string using JsonSerializerSettings.Json Serializer Settings) -
Serialize
Object(Object, static Serializes the specified object to a JSON string using a type, formatting and JsonSerializerSettings.Type, Formatting, Json Serializer Settings) -
Serialize
Object(Object, static Serializes the specified object to a JSON string using a type, formatting and JsonSerializerSettings.Type, Json Serializer Settings) -
Serialize
XNode(XObject) static Serializes the XNode to a JSON string. -
Serialize
XNode(XObject, static Serializes the XNode to a JSON string using formatting.Formatting) -
Serialize
XNode(XObject, static Serializes the XNode to a JSON string using formatting and omits the root object if omitRootObject is true.Formatting, Boolean) -
Serialize
Xml static Serializes the XmlNode to a JSON string.Node(Xml Node) -
Serialize
Xml static Serializes the XmlNode to a JSON string using formatting.Node(Xml Node, Formatting) -
Serialize
Xml static Serializes the XmlNode to a JSON string using formatting and omits the root object if omitRootObject is true.Node(Xml Node, Formatting, Boolean) -
To
String(Boolean) static Converts the Boolean to its JSON string representation. -
To
String(Byte) static Converts the Byte to its JSON string representation. -
To
String(Char) static Converts the Char to its JSON string representation. -
To
String(Date static Converts the DateTime to its JSON string representation.Time) -
To
String(Date static Converts the DateTime to its JSON string representation using the DateFormatHandling specified.Time, Date Format Handling, Date Time Zone Handling) -
To
String(Date static Converts the DateTimeOffset to its JSON string representation.Time Offset) -
To
String(Date static Converts the DateTimeOffset to its JSON string representation using the DateFormatHandling specified.Time Offset, Date Format Handling) -
To
String(Decimal) static Converts the Decimal to its JSON string representation. -
To
String(Double) static Converts the Double to its JSON string representation. -
To
String(Enum) static Converts the Enum to its JSON string representation. -
To
String(Guid) static Converts the Guid to its JSON string representation. -
To
String(Int16) static Converts the Int16 to its JSON string representation. -
To
String(Int32) static Converts the Int32 to its JSON string representation. -
To
String(Int64) static Converts the Int64 to its JSON string representation. -
To
String(Object) static Converts the Object to its JSON string representation. -
To
String(SByte) static Converts the SByte to its JSON string representation. -
To
String(Single) static Converts the Single to its JSON string representation. -
To
String(String) static Converts the String to its JSON string representation. -
To
String(String, static Converts the String to its JSON string representation.Char) -
To
String(String, static Converts the String to its JSON string representation.Char, String Escape Handling) -
To
String(Time static Converts the TimeSpan to its JSON string representation.Span) -
To
String(UInt16) static Converts the UInt16 to its JSON string representation. -
To
String(UInt32) static Converts the UInt32 to its JSON string representation. -
To
String(UInt64) static Converts the UInt64 to its JSON string representation. -
To
String(Uri) static Converts the Uri to its JSON string representation.
Fields
- False static Represents JavaScript's boolean value false as a string. This field is read-only.
-
Na
N static Represents JavaScript's NaN as a string. This field is read-only. -
Negative
Infinity static Represents JavaScript's negative infinity as a string. This field is read-only. - Null static Represents JavaScript's null as a string. This field is read-only.
-
Positive
Infinity static Represents JavaScript's positive infinity as a string. This field is read-only. - True static Represents JavaScript's boolean value true as a string. This field is read-only.
- Undefined static Represents JavaScript's undefined as a string. This field is read-only.
Properties
-
Default
Settings static Gets or sets a function that creates default JsonSerializerSettings. Default settings are automatically used by serialization methods on JsonConvert, and ToObject``1 and FromObject(System.Object) on JToken. To serialize without using any default settings create a JsonSerializer with Create.