Click or drag to resize
Json.NETJsonConverter Class
 
Converts an object to and from JSON.
Inheritance Hierarchy
SystemObject
  Newtonsoft.JsonJsonConverter
    More...

Namespace: Newtonsoft.Json
Assembly: Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 7.0.0.0 (7.0.1.18215)
Syntax
C#
public abstract class JsonConverter

The JsonConverter type exposes the following members.

Constructors
  NameDescription
Protected methodJsonConverter
Initializes a new instance of the JsonConverter class
Top
Methods
  NameDescription
Public methodCanConvert
Determines whether this instance can convert the specified object 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 a hash function for a particular type.
(Inherited from Object.)
Public methodGetSchema Obsolete.

Gets the JsonSchema of the JSON produced by the JsonConverter.

Caution note Caution
JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
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 methodReadJson
Reads the JSON representation of the object.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWriteJson
Writes the JSON representation of the object.
Top
Properties
  NameDescription
Public propertyCanRead
Gets a value indicating whether this JsonConverter can read JSON.
Public propertyCanWrite
Gets a value indicating whether this JsonConverter can write JSON.
Top
See Also
Inheritance Hierarchy
SystemObject
  Newtonsoft.JsonJsonConverter
    Newtonsoft.Json.ConvertersBinaryConverter
    Newtonsoft.Json.ConvertersBsonObjectIdConverter
    Newtonsoft.Json.ConvertersCustomCreationConverterT
    Newtonsoft.Json.ConvertersDataSetConverter
    Newtonsoft.Json.ConvertersDataTableConverter
    Newtonsoft.Json.ConvertersDateTimeConverterBase
    Newtonsoft.Json.ConvertersDiscriminatedUnionConverter
    Newtonsoft.Json.ConvertersEntityKeyMemberConverter
    Newtonsoft.Json.ConvertersExpandoObjectConverter
    Newtonsoft.Json.ConvertersKeyValuePairConverter
    Newtonsoft.Json.ConvertersRegexConverter
    Newtonsoft.Json.ConvertersStringEnumConverter
    Newtonsoft.Json.ConvertersVersionConverter
    Newtonsoft.Json.ConvertersXmlNodeConverter