Click or drag to resize
Json.NET

JsonSerializer Methods

 

The JsonSerializer type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCreate
Creates a new JsonSerializer instance. The JsonSerializer will not use default settings from DefaultSettings.
Public methodStatic memberCreate(JsonSerializerSettings)
Creates a new JsonSerializer instance using the specified JsonSerializerSettings. The JsonSerializer will not use default settings from DefaultSettings.
Public methodStatic memberCreateDefault
Creates a new JsonSerializer instance. The JsonSerializer will use default settings from DefaultSettings.
Public methodStatic memberCreateDefault(JsonSerializerSettings)
Creates a new JsonSerializer instance using the specified JsonSerializerSettings. The JsonSerializer will use default settings from DefaultSettings as well as the specified JsonSerializerSettings.
Public methodDeserialize(JsonReader)
Deserializes the JSON structure contained by the specified JsonReader.
Public methodDeserialize(TextReader, Type)
Deserializes the JSON structure contained by the specified StringReader into an instance of the specified type.
Public methodDeserialize(JsonReader, Type)
Deserializes the JSON structure contained by the specified JsonReader into an instance of the specified type.
Public methodDeserializeT(JsonReader)
Deserializes the JSON structure contained by the specified JsonReader into an instance of the specified type.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPopulate(TextReader, Object)
Populates the JSON values onto the target object.
Public methodPopulate(JsonReader, Object)
Populates the JSON values onto the target object.
Public methodSerialize(TextWriter, Object)
Serializes the specified Object and writes the JSON structure using the specified TextWriter.
Public methodSerialize(JsonWriter, Object)
Serializes the specified Object and writes the JSON structure using the specified JsonWriter.
Public methodSerialize(TextWriter, Object, Type)
Serializes the specified Object and writes the JSON structure using the specified TextWriter.
Public methodSerialize(JsonWriter, Object, Type)
Serializes the specified Object and writes the JSON structure using the specified JsonWriter.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also