Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

Newtonsoft.Json

Json.NET is a popular high-performance JSON framework for .NET

Author James Newton-King
Version 10.0.1
Tags json

Public Types

Newtonsoft.​Json

Specifies how constructors are used when initializing objects during deserialization by the <see cref="T:Newtonsoft.Json.JsonSerializer" /> .
Specifies how dates are formatted when writing JSON text.
Specifies how date formatted strings, e.g. <c>"\/Date(1198908717056)\/"</c> and <c>"2012-03-21T05:40Z"</c> , are parsed when reading JSON text.
Specifies how to treat the time value when converting between string and <see cref="T:System.DateTime" /> .
Specifies default value handling options for the <see cref="T:Newtonsoft.Json.JsonSerializer" /> .
Specifies float format handling options when writing special floating point numbers, e.g. <see cref="F:System.Double.NaN" /> , <see cref="F:System.Double.PositiveInfinity" /> and <see cref="F:System.Double.NegativeInfinity" /> with <see cref="T:Newtonsoft.Json.JsonWriter" /> .
Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
enum Formatting
Specifies formatting options for the <see cref="T:Newtonsoft.Json.JsonTextWriter" /> .
interface IArrayPool<​T>
Provides an interface for using pooled arrays.
interface IJsonLineInfo
Provides an interface to enable a class to return line and position information.
Instructs the <see cref="T:Newtonsoft.Json.JsonSerializer" /> how to serialize the collection.
Instructs the <see cref="T:Newtonsoft.Json.JsonSerializer" /> to use the specified constructor when deserializing that object.
Instructs the <see cref="T:Newtonsoft.Json.JsonSerializer" /> how to serialize the object.
class JsonConvert
Provides methods for converting between .NET types and JSON types.
Converts an object to and from JSON.
Instructs the <see cref="T:Newtonsoft.Json.JsonSerializer" /> to use the specified <see cref="T:Newtonsoft.Json.JsonConverter" /> when serializing the member or class.
Represents a collection of <see cref="T:Newtonsoft.Json.JsonConverter" /> .
Instructs the <see cref="T:Newtonsoft.Json.JsonSerializer" /> how to serialize the collection.
The exception thrown when an error occurs during JSON serialization or deserialization.
Instructs the <see cref="T:Newtonsoft.Json.JsonSerializer" /> to deserialize properties with no matching class member into the specified collection and write values during serialization.
Instructs the <see cref="T:Newtonsoft.Json.JsonSerializer" /> not to serialize the public field or public read/write property value.
Instructs the <see cref="T:Newtonsoft.Json.JsonSerializer" /> how to serialize the object.
Instructs the <see cref="T:Newtonsoft.Json.JsonSerializer" /> to always serialize the member with the specified name.
class JsonReader
Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data.
The exception thrown when an error occurs while reading JSON text.
Instructs the <see cref="T:Newtonsoft.Json.JsonSerializer" /> to always serialize the member, and to require that the member has a value.
The exception thrown when an error occurs during JSON serialization or deserialization.
Serializes and deserializes objects into and from the JSON format. The <see cref="T:Newtonsoft.Json.JsonSerializer" /> enables you to control how objects are encoded into JSON.
Specifies the settings on a <see cref="T:Newtonsoft.Json.JsonSerializer" /> object.
Represents a reader that provides fast, non-cached, forward-only access to JSON text data.
Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
enum JsonToken
Specifies the type of JSON token.
<para> Represents a reader that provides <see cref="T:Newtonsoft.Json.Schema.JsonSchema" /> validation. </para> <note type="caution"> JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com/jsonschema">http://www.newtonsoft.com/jsonschema</see> for more details. </note>
class JsonWriter
Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
The exception thrown when an error occurs while writing JSON text.
Specifies the member serialization options for the <see cref="T:Newtonsoft.Json.JsonSerializer" /> .
Specifies metadata property handling options for the <see cref="T:Newtonsoft.Json.JsonSerializer" /> .
Specifies missing member handling options for the <see cref="T:Newtonsoft.Json.JsonSerializer" /> .
Specifies null value handling options for the <see cref="T:Newtonsoft.Json.JsonSerializer" /> .
Specifies how object creation is handled by the <see cref="T:Newtonsoft.Json.JsonSerializer" /> .
Specifies reference handling options for the <see cref="T:Newtonsoft.Json.JsonSerializer" /> . Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement <see cref="T:System.Runtime.Serialization.ISerializable" /> .
Specifies reference loop handling options for the <see cref="T:Newtonsoft.Json.JsonSerializer" /> .
enum Required
Indicating whether a property is required.
Allows users to control class loading and mandate what class to load.
Specifies how strings are escaped when writing JSON text.
enum TraceLevel
Specifies what messages to output for the <see cref="T:Newtonsoft.Json.Serialization.ITraceWriter" /> class.
Indicates the method that will be used during deserialization for locating and loading assemblies.
Specifies type name handling options for the <see cref="T:Newtonsoft.Json.JsonSerializer" /> .
enum WriteState
Specifies the state of the <see cref="T:Newtonsoft.Json.JsonWriter" /> .

Newtonsoft.​Json.​Bson

class BsonObjectId
Represents a BSON Oid (object id).
class BsonReader
Represents a reader that provides fast, non-cached, forward-only access to serialized BSON data.
class BsonWriter
Represents a writer that provides a fast, non-cached, forward-only way of generating BSON data.

Newtonsoft.​Json.​Converters

Converts a binary value to and from a base 64 string value.
Converts a <see cref="T:Newtonsoft.Json.Bson.BsonObjectId" /> to and from JSON and BSON.
Creates a custom object.
Provides a base class for converting a <see cref="T:System.DateTime" /> to and from JSON.
Converts a F# discriminated union type to and from JSON.
Converts an <see cref="T:System.Dynamic.ExpandoObject" /> to and from JSON.
Converts a <see cref="T:System.DateTime" /> to and from the ISO 8601 date format (e.g. <c>"2008-04-12T12:53Z"</c> ).
Converts a <see cref="T:System.DateTime" /> to and from a JavaScript <c>Date</c> constructor (e.g. <c>new Date(52231943)</c> ).
Converts a <see cref="T:System.Collections.Generic.KeyValuePair`2" /> to and from JSON.
Converts a <see cref="T:System.Text.RegularExpressions.Regex" /> to and from JSON and BSON.
Converts an <see cref="T:System.Enum" /> to and from its name string value.
Converts a <see cref="T:System.Version" /> to and from a string (e.g. <c>"1.2.3.4"</c> ).
Converts XML to and from JSON.

Newtonsoft.​Json.​Linq

Specifies how JSON comments are handled when loading JSON.
class Extensions
Contains the LINQ to JSON extension methods.
interface IJEnumerable<​T>
Represents a collection of <see cref="T:Newtonsoft.Json.Linq.JToken" /> objects.
class JArray
Represents a JSON array.
class JConstructor
Represents a JSON constructor.
class JContainer
Represents a token that can contain other tokens.
struct JEnumerable<​T>
Represents a collection of <see cref="T:Newtonsoft.Json.Linq.JToken" /> objects.
class JObject
Represents a JSON object.
class JProperty
Represents a JSON property.
class JRaw
Represents a raw JSON string.
Specifies the settings used when loading JSON.
Specifies the settings used when merging JSON.
class JToken
Represents an abstract JSON token.
Compares tokens to determine whether they are equal.
class JTokenReader
Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data.
enum JTokenType
Specifies the type of token.
class JTokenWriter
Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
class JValue
Represents a value in JSON (string, integer, date, etc).
Specifies how line information is handled when loading JSON.
Specifies how JSON arrays are merged together.
Specifies how null value properties are merged.

Newtonsoft.​Json.​Schema

class Extensions
<para> Contains the JSON schema extension methods. </para> <note type="caution"> JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com/jsonschema">http://www.newtonsoft.com/jsonschema</see> for more details. </note>
class JsonSchema
<para> An in-memory representation of a JSON Schema. </para> <note type="caution"> JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com/jsonschema">http://www.newtonsoft.com/jsonschema</see> for more details. </note>
<para> Returns detailed information about the schema exception. </para> <note type="caution"> JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com/jsonschema">http://www.newtonsoft.com/jsonschema</see> for more details. </note>
<para> Generates a <see cref="T:Newtonsoft.Json.Schema.JsonSchema" /> from a specified <see cref="T:System.Type" />. </para> <note type="caution"> JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com/jsonschema">http://www.newtonsoft.com/jsonschema</see> for more details. </note>
<para> Resolves <see cref="T:Newtonsoft.Json.Schema.JsonSchema" /> from an id. </para> <note type="caution"> JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com/jsonschema">http://www.newtonsoft.com/jsonschema</see> for more details. </note>
<para> The value types allowed by the <see cref="T:Newtonsoft.Json.Schema.JsonSchema" />. </para> <note type="caution"> JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com/jsonschema">http://www.newtonsoft.com/jsonschema</see> for more details. </note>
<para> Specifies undefined schema Id handling options for the <see cref="T:Newtonsoft.Json.Schema.JsonSchemaGenerator" />. </para> <note type="caution"> JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com/jsonschema">http://www.newtonsoft.com/jsonschema</see> for more details. </note>
<para> Returns detailed information related to the <see cref="T:Newtonsoft.Json.Schema.ValidationEventHandler" />. </para> <note type="caution"> JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com/jsonschema">http://www.newtonsoft.com/jsonschema</see> for more details. </note>
<para> Represents the callback method that will handle JSON schema validation events and the <see cref="T:Newtonsoft.Json.Schema.ValidationEventArgs" />. </para> <note type="caution"> JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com/jsonschema">http://www.newtonsoft.com/jsonschema</see> for more details. </note>

Newtonsoft.​Json.​Serialization

A camel case naming strategy.
Resolves member mappings for a type, camel casing property names.
Used by <see cref="T:Newtonsoft.Json.JsonSerializer" /> to resolve a <see cref="T:Newtonsoft.Json.Serialization.JsonContract" /> for a given <see cref="T:System.Type" /> .
The default naming strategy. Property names and dictionary keys are unchanged.
The default serialization binder used when resolving and loading classes from type names.
class ErrorContext
Provides information surrounding an error.
Provides data for the Error event.
Get and set values for a <see cref="T:System.Reflection.MemberInfo" /> using dynamic methods.
Gets extension data for an object during serialization.
Sets extension data for an object during deserialization.
interface IAttributeProvider
Provides methods to get attributes.
interface IContractResolver
Used by <see cref="T:Newtonsoft.Json.JsonSerializer" /> to resolve a <see cref="T:Newtonsoft.Json.Serialization.JsonContract" /> for a given <see cref="T:System.Type" /> .
interface IReferenceResolver
Used to resolve references when serializing and deserializing JSON by the <see cref="T:Newtonsoft.Json.JsonSerializer" /> .
Allows users to control class loading and mandate what class to load.
interface ITraceWriter
Represents a trace writer.
interface IValueProvider
Provides methods to get and set values.
Contract details for a <see cref="T:System.Type" /> used by the <see cref="T:Newtonsoft.Json.JsonSerializer" /> .
Contract details for a <see cref="T:System.Type" /> used by the <see cref="T:Newtonsoft.Json.JsonSerializer" /> .
class JsonContract
Contract details for a <see cref="T:System.Type" /> used by the <see cref="T:Newtonsoft.Json.JsonSerializer" /> .
Contract details for a <see cref="T:System.Type" /> used by the <see cref="T:Newtonsoft.Json.JsonSerializer" /> .
Contract details for a <see cref="T:System.Type" /> used by the <see cref="T:Newtonsoft.Json.JsonSerializer" /> .
Contract details for a <see cref="T:System.Type" /> used by the <see cref="T:Newtonsoft.Json.JsonSerializer" /> .
Contract details for a <see cref="T:System.Type" /> used by the <see cref="T:Newtonsoft.Json.JsonSerializer" /> .
Contract details for a <see cref="T:System.Type" /> used by the <see cref="T:Newtonsoft.Json.JsonSerializer" /> .
Contract details for a <see cref="T:System.Type" /> used by the <see cref="T:Newtonsoft.Json.JsonSerializer" /> .
class JsonProperty
Maps a JSON property to a .NET member or constructor parameter.
A collection of <see cref="T:Newtonsoft.Json.Serialization.JsonProperty" /> objects.
Contract details for a <see cref="T:System.Type" /> used by the <see cref="T:Newtonsoft.Json.JsonSerializer" /> .
Represents a trace writer that writes to memory. When the trace message limit is reached then old trace messages will be removed as new messages are added.
A base class for resolving how property names and dictionary keys are serialized.
class ObjectConstructor<​T>
Represents a method that constructs an object.
When applied to a method, specifies that the method is called when an error occurs serializing an object.
Provides methods to get attributes from a <see cref="T:System.Type" /> , <see cref="T:System.Reflection.MemberInfo" /> , <see cref="T:System.Reflection.ParameterInfo" /> or <see cref="T:System.Reflection.Assembly" /> .
Get and set values for a <see cref="T:System.Reflection.MemberInfo" /> using reflection.
Handles <see cref="T:Newtonsoft.Json.JsonSerializer" /> serialization callback events.
Handles <see cref="T:Newtonsoft.Json.JsonSerializer" /> serialization error callback events.
A snake case naming strategy.

System.​Runtime.​Serialization.​Formatters

Indicates the method that will be used during deserialization for locating and loading assemblies.

Dependencies