WCF-Xtensions Class Reference for Mono
JsonSerializer Class Members
Properties  Methods  Events


The following tables list the members exposed by JsonSerializer.

Public Constructors
 NameDescription
Public ConstructorJsonSerializer ConstructorInitializes a new instance of the JsonSerializer class.  
Top
Public Properties
 NameDescription
Public PropertyBinderGets or sets the System.Runtime.Serialization.SerializationBinder used by the serializer when resolving type names.  
Public PropertyCheckAdditionalContent Gets a value indicating whether there will be a check for additional JSON content after deserializing an object.  
Public PropertyConstructorHandling Gets or sets how constructors are used during deserialization.  
Public PropertyContextGets or sets the System.Runtime.Serialization.StreamingContext used by the serializer when invoking serialization callback methods.  
Public PropertyContractResolver Gets or sets the contract resolver used by the serializer when serializing .NET objects to JSON and vice versa.  
Public PropertyConvertersGets a collection JsonConverter that will be used during serialization.  
Public PropertyCultureGets or sets the culture used when reading JSON. Defaults to System.Globalization.CultureInfo.InvariantCulture.  
Public PropertyDateFormatHandling Get or set how dates are written to JSON text.  
Public PropertyDateFormatString Get or set how DateTime and DateTimeOffset values are formatting when writing JSON text.  
Public PropertyDateParseHandling Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.  
Public PropertyDateTimeZoneHandlingGet or set how System.DateTime time zones are handling during serialization and deserialization.  
Public PropertyDefaultValueHandling Get or set how null default are handled during serialization and deserialization.  
Public PropertyFloatFormatHandlingGet or set how special floating point numbers, e.g. System.Double.NaN, System.Double.PositiveInfinity and System.Double.NegativeInfinity, are written as JSON text.  
Public PropertyFloatParseHandling Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.  
Public PropertyFormatting Indicates how JSON text output is formatted.  
Public PropertyMaxDepthGets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a JsonReaderException.  
Public PropertyMetadataPropertyHandling Gets or sets how metadata properties are used during deserialization.  
Public PropertyMissingMemberHandling Get or set how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization.  
Public PropertyNullValueHandling Get or set how null values are handled during serialization and deserialization.  
Public PropertyObjectCreationHandling Gets or sets how objects are created during deserialization.  
Public PropertyPreserveReferencesHandling Gets or sets how object references are preserved by the serializer.  
Public PropertyReferenceLoopHandling Get or set how reference loops (e.g. a class referencing itself) is handled.  
Public PropertyReferenceResolverGets or sets the Noemax.Newtonsoft.Json.Serialization.IReferenceResolver used by the serializer when resolving references.  
Public PropertyStringEscapeHandling Get or set how strings are escaped when writing JSON text.  
Public PropertyTraceWriterGets or sets the Noemax.Newtonsoft.Json.Serialization.ITraceWriter used by the serializer when writing trace messages.  
Public PropertyTypeNameAssemblyFormat Gets or sets how a type name assembly is written and resolved by the serializer.  
Public PropertyTypeNameHandling Gets or sets how type name writing and reading is handled by the serializer.  
Top
Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)CreateOverloaded. Creates a new JsonSerializer instance. The JsonSerializer will not use default settings.  
Public Methodstatic (Shared in Visual Basic)CreateDefaultOverloaded. Creates a new JsonSerializer instance. The JsonSerializer will use default settings.  
Public MethodDeserializeOverloaded. Deserializes the Json structure contained by the specified JsonReader.  
Public MethodPopulateOverloaded.  Populates the JSON values onto the target object.  
Public MethodSerializeOverloaded. Serializes the specified System.Object and writes the Json structure to a Stream using the specified System.IO.TextWriter.  
Top
Public Events
 NameDescription
Public EventErrorOccurs when the JsonSerializer errors during serialization and deserialization.  
Top
See Also

Reference

JsonSerializer Class
Noemax.Newtonsoft.Json Namespace

Send Feedback