JsonSerializer Methods |
The JsonSerializer type exposes the following members.
Name | Description | |
---|---|---|
Create |
Creates a new JsonSerializer instance.
The JsonSerializer will not use default settings
from DefaultSettings.
| |
Create(JsonSerializerSettings) |
Creates a new JsonSerializer instance using the specified JsonSerializerSettings.
The JsonSerializer will not use default settings
from DefaultSettings.
| |
CreateDefault |
Creates a new JsonSerializer instance.
The JsonSerializer will use default settings
from DefaultSettings.
| |
CreateDefault(JsonSerializerSettings) |
Creates a new JsonSerializer instance using the specified JsonSerializerSettings.
The JsonSerializer will use default settings
from DefaultSettings as well as the specified JsonSerializerSettings.
| |
Deserialize(JsonReader) |
Deserializes the JSON structure contained by the specified JsonReader.
| |
Deserialize(TextReader, Type) |
Deserializes the JSON structure contained by the specified StringReader
into an instance of the specified type.
| |
Deserialize(JsonReader, Type) |
Deserializes the JSON structure contained by the specified JsonReader
into an instance of the specified type.
| |
DeserializeT(JsonReader) |
Deserializes the JSON structure contained by the specified JsonReader
into an instance of the specified type.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Populate(TextReader, Object) |
Populates the JSON values onto the target object.
| |
Populate(JsonReader, Object) |
Populates the JSON values onto the target object.
| |
Serialize(TextWriter, Object) |
Serializes the specified Object and writes the JSON structure
using the specified TextWriter.
| |
Serialize(JsonWriter, Object) |
Serializes the specified Object and writes the JSON structure
using the specified JsonWriter.
| |
Serialize(TextWriter, Object, Type) |
Serializes the specified Object and writes the JSON structure
using the specified TextWriter.
| |
Serialize(JsonWriter, Object, Type) |
Serializes the specified Object and writes the JSON structure
using the specified JsonWriter.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |