diff --git a/Dependencies/Castle/Castle.Core.dll b/Dependencies/Castle/Castle.Core.dll index 24f4b2f0..864f5350 100644 Binary files a/Dependencies/Castle/Castle.Core.dll and b/Dependencies/Castle/Castle.Core.dll differ diff --git a/Dependencies/Castle/Castle.Core.xml b/Dependencies/Castle/Castle.Core.xml index 6fa66c00..75d0a4ba 100644 --- a/Dependencies/Castle/Castle.Core.xml +++ b/Dependencies/Castle/Castle.Core.xml @@ -343,6 +343,26 @@ + + + Creates a message to inform clients that a proxy couldn't be created due to reliance on an + inaccessible type (perhaps itself). + + the inaccessible type that prevents proxy creation + the type that couldn't be proxied + + + + Find the best available name to describe a type. + + + Usually the best name will be , but + sometimes that's null (see http://msdn.microsoft.com/en-us/library/system.type.fullname%28v=vs.110%29.aspx) + in which case the method falls back to . + + the type to name + the best name + Constant to use when making assembly internals visible to Castle.Core diff --git a/Dependencies/Json.NET/Newtonsoft.Json.dll b/Dependencies/Json.NET/Newtonsoft.Json.dll index 5931de16..e523dc31 100644 Binary files a/Dependencies/Json.NET/Newtonsoft.Json.dll and b/Dependencies/Json.NET/Newtonsoft.Json.dll differ diff --git a/Dependencies/Json.NET/Newtonsoft.Json.xml b/Dependencies/Json.NET/Newtonsoft.Json.xml index 2a75b448..0c7c38d9 100644 --- a/Dependencies/Json.NET/Newtonsoft.Json.xml +++ b/Dependencies/Json.NET/Newtonsoft.Json.xml @@ -6,2206 +6,2581 @@ - Represents a reader that provides fast, non-cached, forward-only access to serialized Json data. + Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - + - Represents a reader that provides fast, non-cached, forward-only access to serialized Json data. + Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary. + + true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. + - + - Initializes a new instance of the class with the specified . + Gets or sets a value indicating whether the root object will be read as a JSON array. + + true if the root object will be read as a JSON array; otherwise, false. + - + - Reads the next JSON token from the stream. + Gets or sets the used when reading values from BSON. - true if the next token was read successfully; false if there are no more tokens to read. + The used when reading values from BSON. - + - Reads the next JSON token from the stream as a . + Initializes a new instance of the class. - A . This method will return null at the end of an array. + The stream. - + - Reads the next JSON token from the stream as a . + Initializes a new instance of the class. - A . This method will return null at the end of an array. + The reader. - + - Reads the next JSON token from the stream as a . + Initializes a new instance of the class. - A or a null reference if the next JSON token is null. This method will return null at the end of an array. + The stream. + if set to true the root object will be read as a JSON array. + The used when reading values from BSON. - + - Reads the next JSON token from the stream as a . + Initializes a new instance of the class. - A . This method will return null at the end of an array. + The reader. + if set to true the root object will be read as a JSON array. + The used when reading values from BSON. - + - Reads the next JSON token from the stream as a . + Reads the next JSON token from the stream. - A . This method will return null at the end of an array. + + true if the next token was read successfully; false if there are no more tokens to read. + - + - Reads the next JSON token from the stream as a . + Changes the to Closed. - A . This method will return null at the end of an array. - + - Skips the children of the current token. + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - + - Sets the current token. + Gets or sets the used when writing values to BSON. + When set to no conversion will occur. - The new token. + The used when writing values to BSON. - + - Sets the current token and value. + Initializes a new instance of the class. - The new token. - The value. + The stream. - + - Sets the state based on current token type. + Initializes a new instance of the class. + The writer. - + - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - + - Releases unmanaged and - optionally - managed resources + Writes the end. - true to release both managed and unmanaged resources; false to release only unmanaged resources. + The token. - + - Changes the to Closed. + Writes out a comment /*...*/ containing the specified text. + Text to place inside the comment. - + - Gets the current reader state. + Writes the start of a constructor with the given name. - The current reader state. + The name of the constructor. - + - Gets or sets a value indicating whether the underlying stream or - should be closed when the reader is closed. + Writes raw JSON. - - true to close the underlying stream or when - the reader is closed; otherwise false. The default is true. - + The raw JSON to write. - + - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. + Writes raw JSON where a value is expected and updates the writer's state. - - true to support reading multiple pieces of JSON content; otherwise false. The default is false. - + The raw JSON to write. - + - Gets the quotation mark character used to enclose the value of a string. + Writes the beginning of a JSON array. - + - Get or set how time zones are handling when reading JSON. + Writes the beginning of a JSON object. - + - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + Writes the property name of a name/value pair on a JSON object. + The name of the property. - + - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + Closes this stream and the underlying stream. - + - Get or set how custom date formatted strings are parsed when reading JSON. + Writes a value. + An error will raised if the value cannot be written as a single JSON token. + The value to write. - + - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + Writes a null value. - + - Gets the type of the current JSON token. + Writes an undefined value. - + - Gets the text value of the current JSON token. + Writes a value. + The value to write. - + - Gets The Common Language Runtime (CLR) type for the current JSON token. + Writes a value. + The value to write. - + - Gets the depth of the current token in the JSON document. + Writes a value. - The depth of the current token in the JSON document. + The value to write. - + - Gets the path of the current JSON token. + Writes a value. + The value to write. - + - Gets or sets the culture used when reading JSON. Defaults to . + Writes a value. + The value to write. - + - Specifies the state of the reader. + Writes a value. + The value to write. - + - The Read method has not been called. + Writes a value. + The value to write. - + - The end of the file has been reached successfully. + Writes a value. + The value to write. - + - Reader is at a property. + Writes a value. + The value to write. - + - Reader is at the start of an object. + Writes a value. + The value to write. - + - Reader is in an object. + Writes a value. + The value to write. - + - Reader is at the start of an array. + Writes a value. + The value to write. - + - Reader is in an array. + Writes a value. + The value to write. - + - The Close method has been called. + Writes a value. + The value to write. - + - Reader has just read a value. + Writes a value. + The value to write. - + - Reader is at the start of a constructor. + Writes a value. + The value to write. - + - Reader in a constructor. + Writes a [] value. + The [] value to write. - + - An error occurred that prevents the read operation from continuing. + Writes a value. + The value to write. - + - The end of the file has been reached successfully. + Writes a value. + The value to write. - + - Initializes a new instance of the class. + Writes a value. - The stream. + The value to write. - + - Initializes a new instance of the class. + Writes a [] value that represents a BSON object id. - The reader. + The Object ID value to write. - + - Initializes a new instance of the class. + Writes a BSON regex. - The stream. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. + The regex pattern. + The regex options. - + - Initializes a new instance of the class. + Represents a BSON Oid (object id). - The reader. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - + - Reads the next JSON token from the stream as a . + Gets or sets the value of the Oid. - - A or a null reference if the next JSON token is null. This method will return null at the end of an array. - + The value of the Oid. - + - Reads the next JSON token from the stream as a . + Initializes a new instance of the class. - A . This method will return null at the end of an array. + The Oid value. - + - Reads the next JSON token from the stream as a . + Converts a binary value to and from a base 64 string value. - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Writes the JSON representation of the object. - A . This method will return null at the end of an array. + The to write to. + The value. + The calling serializer. - + - Reads the next JSON token from the stream as a . + Reads the JSON representation of the object. - A . This method will return null at the end of an array. + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Reads the next JSON token from the stream as a . + Determines whether this instance can convert the specified object type. + Type of the object. - A . This method will return null at the end of an array. + true if this instance can convert the specified object type; otherwise, false. - + - Reads the next JSON token from the stream. + Converts a to and from JSON. - - true if the next token was read successfully; false if there are no more tokens to read. - - + - Changes the to Closed. + Writes the JSON representation of the object. + The to write to. + The value. + The calling serializer. - + - Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary. + Reads the JSON representation of the object. - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Gets or sets a value indicating whether the root object will be read as a JSON array. + Determines whether this instance can convert the specified value type. - - true if the root object will be read as a JSON array; otherwise, false. - + Type of the value. + + true if this instance can convert the specified value type; otherwise, false. + - + - Gets or sets the used when reading values from BSON. + Converts a to and from JSON. - The used when reading values from BSON. - + - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + Writes the JSON representation of the object. + The to write to. + The value. + The calling serializer. - + - Represents a writer that provides a fast, non-cached, forward-only way of generating Json data. + Reads the JSON representation of the object. + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Creates an instance of the JsonWriter class. + Determines whether this instance can convert the specified value type. + Type of the value. + + true if this instance can convert the specified value type; otherwise, false. + - + - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. + Create a custom object + The object type to convert. - + - Closes this stream and the underlying stream. + Writes the JSON representation of the object. + The to write to. + The value. + The calling serializer. - + - Writes the beginning of a Json object. + Reads the JSON representation of the object. + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Writes the end of a Json object. + Creates an object which will then be populated by the serializer. + Type of the object. + The created object. - + - Writes the beginning of a Json array. + Determines whether this instance can convert the specified object type. + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Writes the end of an array. + Gets a value indicating whether this can write JSON. + + true if this can write JSON; otherwise, false. + - + - Writes the start of a constructor with the given name. + Provides a base class for converting a to and from JSON. - The name of the constructor. - + - Writes the end constructor. + Determines whether this instance can convert the specified object type. + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Writes the property name of a name/value pair on a JSON object. + Converts a F# discriminated union type to and from JSON. - The name of the property. - + - Writes the property name of a name/value pair on a JSON object. + Writes the JSON representation of the object. - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. + The to write to. + The value. + The calling serializer. - + - Writes the end of the current Json object or array. + Reads the JSON representation of the object. + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Writes the current token and its children. + Determines whether this instance can convert the specified object type. - The to read the token from. + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Writes the current token. + Converts an Entity Framework EntityKey to and from JSON. - The to read the token from. - A flag indicating whether the current token's children should be written. - + - Writes the specified end token. + Writes the JSON representation of the object. - The end token to write. + The to write to. + The value. + The calling serializer. - + - Writes indent characters. + Reads the JSON representation of the object. + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Writes the JSON value delimiter. + Determines whether this instance can convert the specified object type. + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Writes an indent space. + Converts an ExpandoObject to and from JSON. - + - Writes a null value. + Writes the JSON representation of the object. + The to write to. + The value. + The calling serializer. - + - Writes an undefined value. + Reads the JSON representation of the object. + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Writes raw JSON without changing the writer's state. + Determines whether this instance can convert the specified object type. - The raw JSON to write. + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Writes raw JSON where a value is expected and updates the writer's state. + Gets a value indicating whether this can write JSON. - The raw JSON to write. + + true if this can write JSON; otherwise, false. + - + - Writes a value. + Converts a to and from JSON. - The value to write. - + - Writes a value. + Writes the JSON representation of the object. - The value to write. + The to write to. + The value. + The calling serializer. - + - Writes a value. + Reads the JSON representation of the object. - The value to write. + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Writes a value. + Determines whether this instance can convert the specified object type. - The value to write. + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Writes a value. + Converts a to and from JSON and BSON. - The value to write. - + - Writes a value. + Writes the JSON representation of the object. - The value to write. + The to write to. + The value. + The calling serializer. - + - Writes a value. + Reads the JSON representation of the object. - The value to write. + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Writes a value. + Determines whether this instance can convert the specified object type. - The value to write. + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Writes a value. + Converts a to and from JSON and BSON. - The value to write. - + - Writes a value. + Writes the JSON representation of the object. - The value to write. + The to write to. + The value. + The calling serializer. - + - Writes a value. + Reads the JSON representation of the object. - The value to write. + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Writes a value. + Determines whether this instance can convert the specified object type. - The value to write. + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Writes a value. + Converts an to and from its name string value. - The value to write. - + - Writes a value. + Gets or sets a value indicating whether the written enum text should be camel case. - The value to write. + true if the written enum text will be camel case; otherwise, false. - + - Writes a value. + Gets or sets a value indicating whether integer values are allowed. - The value to write. + true if integers are allowed; otherwise, false. - + - Writes a value. + Initializes a new instance of the class. - The value to write. - + - Writes a value. + Initializes a new instance of the class. - The value to write. + true if the written enum text will be camel case; otherwise, false. - + - Writes a value. + Writes the JSON representation of the object. - The value to write. + The to write to. + The value. + The calling serializer. - + - Writes a value. + Reads the JSON representation of the object. - The value to write. + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Writes a value. + Determines whether this instance can convert the specified object type. - The value to write. + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Writes a value. + Converts a to and from a string (e.g. "1.2.3.4"). - The value to write. - + - Writes a value. + Writes the JSON representation of the object. - The value to write. + The to write to. + The value. + The calling serializer. - + - Writes a value. + Reads the JSON representation of the object. - The value to write. + The to read from. + Type of the object. + The existing property value of the JSON that is being converted. + The calling serializer. + The object value. - + - Writes a value. + Determines whether this instance can convert the specified object type. - The value to write. + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Writes a value. + Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z). - The value to write. - + - Writes a value. + Gets or sets the date time styles used when converting a date to and from JSON. - The value to write. + The date time styles used when converting a date to and from JSON. - + - Writes a value. + Gets or sets the date time format used when converting a date to and from JSON. - The value to write. + The date time format used when converting a date to and from JSON. - + - Writes a value. + Gets or sets the culture used when converting a date to and from JSON. - The value to write. + The culture used when converting a date to and from JSON. - + - Writes a value. + Writes the JSON representation of the object. - The value to write. + The to write to. + The value. + The calling serializer. - + - Writes a value. + Reads the JSON representation of the object. - The value to write. + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Writes a value. + Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)). - The value to write. - + - Writes a value. + Writes the JSON representation of the object. - The value to write. + The to write to. + The value. + The calling serializer. - + - Writes a value. + Reads the JSON representation of the object. - The value to write. + The to read from. + Type of the object. + The existing property value of the JSON that is being converted. + The calling serializer. + The object value. - + - Writes a value. + Converts XML to and from JSON. - The value to write. - + - Writes a value. + Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements. - The value to write. + The name of the deserialize root element. - + - Writes a value. + Gets or sets a flag to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. - The value to write. + true if the array attibute is written to the XML; otherwise, false. - + - Writes a value. + Gets or sets a value indicating whether to write the root JSON object. - The value to write. + true if the JSON root object is omitted; otherwise, false. - + - Writes a value. - An error will raised if the value cannot be written as a single JSON token. + Writes the JSON representation of the object. - The value to write. + The to write to. + The calling serializer. + The value. - + - Writes out a comment /*...*/ containing the specified text. + Reads the JSON representation of the object. - Text to place inside the comment. + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Writes out the given white space. + Checks if the attributeName is a namespace attribute. - The string of white space characters. + Attribute name to test. + The attribute name prefix if it has one, otherwise an empty string. + True if attribute name is for a namespace attribute, otherwise false. - + - Sets the state of the JsonWriter, + Determines whether this instance can convert the specified value type. - The JsonToken being written. - The value being written. + Type of the value. + + true if this instance can convert the specified value type; otherwise, false. + - + - Gets or sets a value indicating whether the underlying stream or - should be closed when the writer is closed. + Specifies how constructors are used when initializing objects during deserialization by the . - - true to close the underlying stream or when - the writer is closed; otherwise false. The default is true. - - + - Gets the top. + First attempt to use the public default constructor, then fall back to single paramatized constructor, then the non-public default constructor. - The top. - + - Gets the state of the writer. + Json.NET will use a non-public default constructor before falling back to a paramatized constructor. - + - Gets the path of the writer. + Specifies float format handling options when writing special floating point numbers, e.g. , + and with . - + - Indicates how JSON text output is formatted. + Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". - + - Get or set how dates are written to JSON text. + Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. + Note that this will produce non-valid JSON. - + - Get or set how time zones are handling when writing JSON text. + Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a property. - + - Get or set how strings are escaped when writing JSON text. + Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - + - Get or set how special floating point numbers, e.g. , - and , - are written to JSON text. + Floating point numbers are parsed to . - + - Get or set how and values are formatting when writing JSON text. + Floating point numbers are parsed to . - + - Gets or sets the culture used when writing JSON. Defaults to . + Provides an interface for using pooled arrays. + The array type content. - + - Initializes a new instance of the class. + Rent a array from the pool. This array must be returned when it is no longer needed. - The stream. + The minimum required length of the array. The returned array may be longer. + The rented array from the pool. This array must be returned when it is no longer needed. - + - Initializes a new instance of the class. + Return an array to the pool. - The writer. + The array that is being returned. - + - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. + Instructs the how to serialize the collection. - + - Writes the end. + Initializes a new instance of the class. - The token. - + - Writes out a comment /*...*/ containing the specified text. + Initializes a new instance of the class with the specified container Id. - Text to place inside the comment. + The container Id. - + - Writes the start of a constructor with the given name. + The exception thrown when an error occurs during JSON serialization or deserialization. - The name of the constructor. - + - Writes raw JSON. + Initializes a new instance of the class. - The raw JSON to write. - + - Writes raw JSON where a value is expected and updates the writer's state. + Initializes a new instance of the class + with a specified error message. - The raw JSON to write. + The error message that explains the reason for the exception. - + - Writes the beginning of a Json array. + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - + - Writes the beginning of a Json object. + Initializes a new instance of the class. + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is null. + The class name is null or is zero (0). - + - Writes the property name of a name/value pair on a Json object. + Specifies how dates are formatted when writing JSON text. - The name of the property. - + - Closes this stream and the underlying stream. + Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". - + - Writes a value. - An error will raised if the value cannot be written as a single JSON token. + Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". - The value to write. - + - Writes a null value. + Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. - + - Writes an undefined value. + Date formatted strings are not parsed to a date type and are read as strings. - + - Writes a value. + Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - The value to write. - + - Writes a value. + Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - The value to write. - + - Writes a value. + Specifies how to treat the time value when converting between string and . - The value to write. - + - Writes a value. + Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. - The value to write. - + - Writes a value. + Treat as a UTC. If the object represents a local time, it is converted to a UTC. - The value to write. - + - Writes a value. + Treat as a local time if a is being converted to a string. + If a string is being converted to , convert to a local time if a time zone is specified. - The value to write. - + - Writes a value. + Time zone information should be preserved when converting. - The value to write. - + - Writes a value. + Specifies formatting options for the . - The value to write. - + - Writes a value. + No special formatting is applied. This is the default. - The value to write. - + - Writes a value. + Causes child objects to be indented according to the and settings. - The value to write. - + - Writes a value. + Instructs the to use the specified constructor when deserializing that object. - The value to write. - + - Writes a value. + Instructs the to deserialize properties with no matching class member into the specified collection + and write values during serialization. - The value to write. - + - Writes a value. + Gets or sets a value that indicates whether to write extension data when serializing the object. - The value to write. + + true to write extension data when serializing the object; otherwise, false. The default is true. + - + - Writes a value. + Gets or sets a value that indicates whether to read extension data when deserializing the object. - The value to write. + + true to read extension data when deserializing the object; otherwise, false. The default is true. + - + - Writes a value. + Initializes a new instance of the class. - The value to write. - + - Writes a value. + Instructs the to always serialize the member, and require the member has a value. - The value to write. - + - Writes a value. + Specifies how JSON comments are handled when loading JSON. - The value to write. - + - Writes a value. + Ignore comments. - The value to write. - + - Writes a value. + Load comments as a with type . - The value to write. - + - Writes a value. + Specifies how line information is handled when loading JSON. - The value to write. - + - Writes a value that represents a BSON object id. + Ignore line information. - The Object ID value to write. - + - Writes a BSON regex. + Load line information. - The regex pattern. - The regex options. - + - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. + Specifies the settings used when loading JSON. - The used when writing values to BSON. - + - Represents a BSON Oid (object id). + Gets or sets how JSON comments are handled when loading JSON. + The JSON comment handling. - + - Initializes a new instance of the class. + Gets or sets how JSON line info is handled when loading JSON. - The Oid value. + The JSON line info handling. - + - Gets or sets the value of the Oid. + Specifies the settings used when merging JSON. - The value of the Oid. - + - Converts a binary value to and from a base 64 string value. + Gets or sets the method used when merging JSON arrays. + The method used when merging JSON arrays. - + - Converts an object to and from JSON. + Gets or sets how how null value properties are merged. + How null value properties are merged. - + - Writes the JSON representation of the object. + Specifies how JSON arrays are merged together. - The to write to. - The value. - The calling serializer. - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + + Concatenate arrays. - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + + Union arrays, skipping items that already exist. - + + Replace all array items. + + + Merge array items together, matched by index. + + - Gets the of the JSON produced by the JsonConverter. + Specifies how null value properties are merged. - The of the JSON produced by the JsonConverter. - + - Gets a value indicating whether this can read JSON. + The content's null value properties will be ignored during merging. - true if this can read JSON; otherwise, false. - + - Gets a value indicating whether this can write JSON. + The content's null value properties will be merged. - true if this can write JSON; otherwise, false. - + - Writes the JSON representation of the object. + Represents a raw JSON string. - The to write to. - The value. - The calling serializer. - + - Reads the JSON representation of the object. + Initializes a new instance of the class from another object. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + A object to copy from. - + - Determines whether this instance can convert the specified object type. + Initializes a new instance of the class. - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + The raw json. - + - Converts a to and from JSON. + Creates an instance of with the content of the reader's current token. + The reader. + An instance of with the content of the reader's current token. - + - Writes the JSON representation of the object. + Represents a view of a . - The to write to. - The value. - The calling serializer. - + - Reads the JSON representation of the object. + Initializes a new instance of the class. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + The name. - + - Determines whether this instance can convert the specified value type. + When overridden in a derived class, returns whether resetting an object changes its value. - Type of the value. - true if this instance can convert the specified value type; otherwise, false. + true if resetting the component changes its value; otherwise, false. + The component to test for reset capability. + - + - Converts a to and from JSON. + When overridden in a derived class, gets the current value of the property on a component. + + The value of a property for a given component. + + The component with the property for which to retrieve the value. + - + - Writes the JSON representation of the object. + When overridden in a derived class, resets the value for this property of the component to the default value. - The to write to. - The value. - The calling serializer. + The component with the property value that is to be reset to the default value. + - + - Reads the JSON representation of the object. + When overridden in a derived class, sets the value of the component to a different value. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + The component with the property value that is to be set. + The new value. + - + - Determines whether this instance can convert the specified value type. + When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted. - Type of the value. - true if this instance can convert the specified value type; otherwise, false. + true if the property should be persisted; otherwise, false. + The component with the property to be examined for persistence. + - + - Create a custom object + When overridden in a derived class, gets the type of the component this property is bound to. - The object type to convert. + + A that represents the type of component this property is bound to. When the or methods are invoked, the object specified might be an instance of this type. + - + - Writes the JSON representation of the object. + When overridden in a derived class, gets a value indicating whether this property is read-only. - The to write to. - The value. - The calling serializer. + + true if the property is read-only; otherwise, false. + - + - Reads the JSON representation of the object. + When overridden in a derived class, gets the type of the property. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + + A that represents the type of the property. + - + - Creates an object which will then be populated by the serializer. + Gets the hash code for the name of the member. - Type of the object. - The created object. + + + The hash code for the name of the member. + - + - Determines whether this instance can convert the specified object type. + Represents a collection of objects. - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + The type of token - + - Gets a value indicating whether this can write JSON. + Gets the with the specified key. - - true if this can write JSON; otherwise, false. - + - + - Provides a base class for converting a to and from JSON. + Compares tokens to determine whether they are equal. - + - Determines whether this instance can convert the specified object type. + Determines whether the specified objects are equal. - Type of the object. + The first object of type to compare. + The second object of type to compare. - true if this instance can convert the specified object type; otherwise, false. + true if the specified objects are equal; otherwise, false. - + - Converts a F# discriminated union type to and from JSON. + Returns a hash code for the specified object. + The for which a hash code is to be returned. + A hash code for the specified object. + The type of is a reference type and is null. - + - Writes the JSON representation of the object. + Contains the LINQ to JSON extension methods. - The to write to. - The value. - The calling serializer. - + - Reads the JSON representation of the object. + Returns a collection of tokens that contains the ancestors of every token in the source collection. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains the ancestors of every token in the source collection. - + - Determines whether this instance can convert the specified object type. + Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains every token in the source collection, the ancestors of every token in the source collection. - + - Converts an Entity Framework EntityKey to and from JSON. + Returns a collection of tokens that contains the descendants of every token in the source collection. + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains the descendants of every token in the source collection. - + - Writes the JSON representation of the object. + Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - The to write to. - The value. - The calling serializer. + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains every token in the source collection, and the descendants of every token in the source collection. - + - Reads the JSON representation of the object. + Returns a collection of child properties of every object in the source collection. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + An of that contains the source collection. + An of that contains the properties of every object in the source collection. - + - Determines whether this instance can convert the specified object type. + Returns a collection of child values of every object in the source collection with the given key. - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + An of that contains the source collection. + The token key. + An of that contains the values of every token in the source collection with the given key. - + - Converts an ExpandoObject to and from JSON. + Returns a collection of child values of every object in the source collection. + An of that contains the source collection. + An of that contains the values of every token in the source collection. - + - Writes the JSON representation of the object. + Returns a collection of converted child values of every object in the source collection with the given key. - The to write to. - The value. - The calling serializer. + The type to convert the values to. + An of that contains the source collection. + The token key. + An that contains the converted values of every token in the source collection with the given key. - + - Reads the JSON representation of the object. + Returns a collection of converted child values of every object in the source collection. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + The type to convert the values to. + An of that contains the source collection. + An that contains the converted values of every token in the source collection. - + - Determines whether this instance can convert the specified object type. + Converts the value. - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + The type to convert the value to. + A cast as a of . + A converted value. - + - Gets a value indicating whether this can write JSON. + Converts the value. - - true if this can write JSON; otherwise, false. - + The source collection type. + The type to convert the value to. + A cast as a of . + A converted value. - + - Converts a to and from JSON. + Returns a collection of child tokens of every array in the source collection. + The source collection type. + An of that contains the source collection. + An of that contains the values of every token in the source collection. - + - Writes the JSON representation of the object. + Returns a collection of converted child tokens of every array in the source collection. - The to write to. - The value. - The calling serializer. + An of that contains the source collection. + The type to convert the values to. + The source collection type. + An that contains the converted values of every token in the source collection. - + - Reads the JSON representation of the object. + Returns the input typed as . - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + An of that contains the source collection. + The input typed as . - + - Determines whether this instance can convert the specified object type. + Returns the input typed as . - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + The source collection type. + An of that contains the source collection. + The input typed as . - + - Converts a to and from JSON and BSON. + Represents a JSON constructor. - + - Writes the JSON representation of the object. + Gets the container's children tokens. - The to write to. - The value. - The calling serializer. + The container's children tokens. - + - Reads the JSON representation of the object. + Gets or sets the name of this constructor. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + The constructor name. - + - Determines whether this instance can convert the specified object type. + Gets the node type for this . - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + The type. - + - Converts a to and from JSON and BSON. + Initializes a new instance of the class. - + - Writes the JSON representation of the object. + Initializes a new instance of the class from another object. - The to write to. - The value. - The calling serializer. + A object to copy from. - + - Reads the JSON representation of the object. + Initializes a new instance of the class with the specified name and content. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + The constructor name. + The contents of the constructor. - + - Determines whether this instance can convert the specified object type. + Initializes a new instance of the class with the specified name and content. - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + The constructor name. + The contents of the constructor. - + - Converts an to and from its name string value. + Initializes a new instance of the class with the specified name. + The constructor name. - + - Initializes a new instance of the class. + Writes this token to a . + A into which this method will write. + A collection of which will be used when writing the token. - + - Writes the JSON representation of the object. + Gets the with the specified key. - The to write to. - The value. - The calling serializer. + The with the specified key. - + - Reads the JSON representation of the object. + Loads an from a . - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + A that will be read for the content of the . + A that contains the JSON that was read from the specified . - + - Determines whether this instance can convert the specified object type. + Loads an from a . - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . - + - Gets or sets a value indicating whether the written enum text should be camel case. + Represents a token that can contain other tokens. - true if the written enum text will be camel case; otherwise, false. - + - Gets or sets a value indicating whether integer values are allowed. + Occurs when the list changes or an item in the list changes. - true if integers are allowed; otherwise, false. - + - Specifies how constructors are used when initializing objects during deserialization by the . + Occurs before an item is added to the collection. - + - First attempt to use the public default constructor, then fall back to single paramatized constructor, then the non-public default constructor. + Occurs when the items list of the collection has changed, or the collection is reset. - + - Json.NET will use a non-public default constructor before falling back to a paramatized constructor. + Gets the container's children tokens. + The container's children tokens. - + - Converts a to and from a string (e.g. "1.2.3.4"). + Raises the event. + The instance containing the event data. - + - Writes the JSON representation of the object. + Raises the event. - The to write to. - The value. - The calling serializer. + The instance containing the event data. - + - Reads the JSON representation of the object. + Raises the event. - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. + The instance containing the event data. - + - Determines whether this instance can convert the specified object type. + Gets a value indicating whether this token has child tokens. - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + + true if this token has child values; otherwise, false. + - + - Specifies float format handling options when writing special floating point numbers, e.g. , - and with . + Get the first child token of this token. + + A containing the first child token of the . + - + - Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". + Get the last child token of this token. + + A containing the last child token of the . + - + - Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. - Note that this will produce non-valid JSON. + Returns a collection of the child tokens of this token, in document order. + + An of containing the child tokens of this , in document order. + - + - Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a property. + Returns a collection of the child values of this token, in document order. + The type to convert the values to. + + A containing the child values of this , in document order. + - + - Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + Returns a collection of the descendant tokens for this token in document order. + An containing the descendant tokens of the . - + - Floating point numbers are parsed to . + Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. + An containing this token, and all the descendant tokens of the . - + - Floating point numbers are parsed to . + Adds the specified content as children of this . + The content to be added. - + - Instructs the how to serialize the collection. + Adds the specified content as the first children of this . + The content to be added. - + - Instructs the how to serialize the object. + Creates an that can be used to add tokens to the . + An that is ready to have content written to it. - + - Initializes a new instance of the class. + Replaces the children nodes of this token with the specified content. + The content. - + - Initializes a new instance of the class with the specified container Id. + Removes the child nodes from this token. - The container Id. - + - Gets or sets the id. + Merge the specified content into this . - The id. + The content to be merged. - + - Gets or sets the title. + Merge the specified content into this using . - The title. + The content to be merged. + The used to merge the content. - + - Gets or sets the description. + Gets the count of child JSON tokens. - The description. + The count of child JSON tokens - + - Gets the collection's items converter. + Represents a collection of objects. - The collection's items converter. + The type of token - + - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. + An empty collection of objects. - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - + - Gets or sets a value that indicates whether to preserve object references. + Initializes a new instance of the struct. - - true to keep object reference; otherwise, false. The default is false. - + The enumerable. - + - Gets or sets a value that indicates whether to preserve collection's items references. + Returns an enumerator that iterates through the collection. - - true to keep collection's items object references; otherwise, false. The default is false. - + + A that can be used to iterate through the collection. + - + - Gets or sets the reference loop handling used when serializing the collection's items. + Returns an enumerator that iterates through a collection. - The reference loop handling. + + An object that can be used to iterate through the collection. + - + - Gets or sets the type name handling used when serializing the collection's items. + Gets the with the specified key. - The type name handling. + - + - Initializes a new instance of the class. + Determines whether the specified is equal to this instance. + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + - + - Initializes a new instance of the class with the specified container Id. + Determines whether the specified is equal to this instance. - The container Id. + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + - + - The exception thrown when an error occurs during Json serialization or deserialization. + Returns a hash code for this instance. + + A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. + - + - Initializes a new instance of the class. + Represents a JSON object. + + + - + - Initializes a new instance of the class - with a specified error message. + Gets the container's children tokens. - The error message that explains the reason for the exception. + The container's children tokens. - + - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. + Occurs when a property value changes. - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - + - Initializes a new instance of the class. + Occurs when a property value is changing. - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - + - Specifies how dates are formatted when writing JSON text. + Initializes a new instance of the class. - + - Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". + Initializes a new instance of the class from another object. + A object to copy from. - + - Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". + Initializes a new instance of the class with the specified content. + The contents of the object. - + - Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. + Initializes a new instance of the class with the specified content. + The contents of the object. - + - Date formatted strings are not parsed to a date type and are read as strings. + Gets the node type for this . + The type. - + - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . + Gets an of this object's properties. + An of this object's properties. - + - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . + Gets a the specified name. + The property name. + A with the specified name or null. - + - Specifies how to treat the time value when converting between string and . + Gets an of this object's property values. + An of this object's property values. - + - Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. + Gets the with the specified key. + The with the specified key. - + - Treat as a UTC. If the object represents a local time, it is converted to a UTC. + Gets or sets the with the specified property name. + - + - Treat as a local time if a is being converted to a string. - If a string is being converted to , convert to a local time if a time zone is specified. + Loads an from a . + A that will be read for the content of the . + A that contains the JSON that was read from the specified . - + - Time zone information should be preserved when converting. + Loads an from a . + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . - + - Specifies formatting options for the . + Load a from a string that contains JSON. + A that contains JSON. + A populated from the string that contains JSON. + + + - + - No special formatting is applied. This is the default. + Load a from a string that contains JSON. + A that contains JSON. + The used to load the JSON. + If this is null, default load settings will be used. + A populated from the string that contains JSON. + + + - + - Causes child objects to be indented according to the and settings. + Creates a from an object. + The object that will be used to create . + A with the values of the specified object - + - Instructs the to use the specified constructor when deserializing that object. + Creates a from an object. + The object that will be used to create . + The that will be used to read the object. + A with the values of the specified object - + - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. + Writes this token to a . + A into which this method will write. + A collection of which will be used when writing the token. - + - Initializes a new instance of the class. + Gets the with the specified property name. + Name of the property. + The with the specified property name. - + - Gets or sets a value that indicates whether to write extension data when serializing the object. + Gets the with the specified property name. + The exact property name will be searched for first and if no matching property is found then + the will be used to match a property. - - true to write extension data when serializing the object; otherwise, false. The default is true. - + Name of the property. + One of the enumeration values that specifies how the strings will be compared. + The with the specified property name. - + - Gets or sets a value that indicates whether to read extension data when deserializing the object. + Tries to get the with the specified property name. + The exact property name will be searched for first and if no matching property is found then + the will be used to match a property. - - true to read extension data when deserializing the object; otherwise, false. The default is true. - + Name of the property. + The value. + One of the enumeration values that specifies how the strings will be compared. + true if a value was successfully retrieved; otherwise, false. - + - Specifies the settings used when merging JSON. + Adds the specified property name. + Name of the property. + The value. - + - Gets or sets the method used when merging JSON arrays. + Removes the property with the specified name. - The method used when merging JSON arrays. + Name of the property. + true if item was successfully removed; otherwise, false. - + - Specifies how JSON arrays are merged together. + Tries the get value. + Name of the property. + The value. + true if a value was successfully retrieved; otherwise, false. - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - + - Specifies metadata property handling options for the . + Returns an enumerator that iterates through the collection. + + A that can be used to iterate through the collection. + - + - Read metadata properties located at the start of a JSON object. + Raises the event with the provided arguments. + Name of the property. - + - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. + Raises the event with the provided arguments. + Name of the property. - + - Do not try to read metadata properties. + Returns the properties for this instance of a component. + + A that represents the properties for this component instance. + - + - Represents a trace writer that writes to the application's instances. + Returns the properties for this instance of a component using the attribute array as a filter. + An array of type that is used as a filter. + + A that represents the filtered properties for this component instance. + - + - Represents a trace writer. + Returns a collection of custom attributes for this instance of a component. + + An containing the attributes for this object. + - + - Writes the specified trace level, message and optional exception. + Returns the class name of this instance of a component. - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. + + The class name of the object, or null if the class does not have a name. + - + - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. + Returns the name of this instance of a component. - The that will be used to filter the trace messages passed to the writer. + + The name of the object, or null if the object does not have a name. + - + - Writes the specified trace level, message and optional exception. + Returns a type converter for this instance of a component. - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. + + A that is the converter for this object, or null if there is no for this object. + - + - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. + Returns the default event for this instance of a component. - - The that will be used to filter the trace messages passed to the writer. - + + An that represents the default event for this object, or null if this object does not have events. + - + - Get and set values for a using dynamic methods. + Returns the default property for this instance of a component. + + A that represents the default property for this object, or null if this object does not have properties. + - + - Provides methods to get and set values. + Returns an editor of the specified type for this instance of a component. + A that represents the editor for this object. + + An of the specified type that is the editor for this object, or null if the editor cannot be found. + - + - Sets the value. + Returns the events for this instance of a component using the specified attribute array as a filter. - The target to set the value on. - The value to set on the target. + An array of type that is used as a filter. + + An that represents the filtered events for this component instance. + - + - Gets the value. + Returns the events for this instance of a component. - The target to get the value from. - The value. + + An that represents the events for this component instance. + - + - Initializes a new instance of the class. + Returns an object that contains the property described by the specified property descriptor. - The member info. - - + A that represents the property whose owner is to be found. + + An that represents the owner of the specified property. + + + - Sets the value. + Returns the responsible for binding operations performed on this object. - The target to set the value on. - The value to set on the target. + The expression tree representation of the runtime value. + + The to bind this object. + - + - Gets the value. + Represents a JSON array. - The target to get the value from. - The value. + + + - + - Contract details for a used by the . + Gets the container's children tokens. + The container's children tokens. - + - Contract details for a used by the . + Gets the node type for this . + The type. - + - Gets the underlying type for the contract. + Initializes a new instance of the class. - The underlying type for the contract. - + - Gets or sets the type created during deserialization. + Initializes a new instance of the class from another object. - The type created during deserialization. + A object to copy from. - + - Gets or sets whether this type contract is serialized as a reference. + Initializes a new instance of the class with the specified content. - Whether this type contract is serialized as a reference. + The contents of the array. - + - Gets or sets the default for this contract. + Initializes a new instance of the class with the specified content. - The converter. + The contents of the array. - + - Gets or sets all methods called immediately after deserialization of the object. + Loads an from a . - The methods called immediately after deserialization of the object. + A that will be read for the content of the . + A that contains the JSON that was read from the specified . - + - Gets or sets all methods called during deserialization of the object. + Loads an from a . - The methods called during deserialization of the object. + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . - + - Gets or sets all methods called after serialization of the object graph. + Load a from a string that contains JSON. - The methods called after serialization of the object graph. + A that contains JSON. + A populated from the string that contains JSON. + + + - + - Gets or sets all methods called before serialization of the object. + Load a from a string that contains JSON. - The methods called before serialization of the object. + A that contains JSON. + The used to load the JSON. + If this is null, default load settings will be used. + A populated from the string that contains JSON. + + + - + - Gets or sets all method called when an error is thrown during the serialization of the object. + Creates a from an object. - The methods called when an error is thrown during the serialization of the object. + The object that will be used to create . + A with the values of the specified object - + - Gets or sets the method called immediately after deserialization of the object. + Creates a from an object. - The method called immediately after deserialization of the object. + The object that will be used to create . + The that will be used to read the object. + A with the values of the specified object - + - Gets or sets the method called during deserialization of the object. + Writes this token to a . - The method called during deserialization of the object. + A into which this method will write. + A collection of which will be used when writing the token. - + - Gets or sets the method called after serialization of the object graph. + Gets the with the specified key. - The method called after serialization of the object graph. + The with the specified key. - + - Gets or sets the method called before serialization of the object. + Gets or sets the at the specified index. - The method called before serialization of the object. + - + - Gets or sets the method called when an error is thrown during the serialization of the object. + Determines the index of a specific item in the . - The method called when an error is thrown during the serialization of the object. + The object to locate in the . + + The index of if found in the list; otherwise, -1. + - + - Gets or sets the default creator method used to create the object. + Inserts an item to the at the specified index. - The default creator method used to create the object. + The zero-based index at which should be inserted. + The object to insert into the . + + is not a valid index in the . + The is read-only. - + - Gets or sets a value indicating whether the default creator is non public. + Removes the item at the specified index. - true if the default object creator is non-public; otherwise, false. + The zero-based index of the item to remove. + + is not a valid index in the . + The is read-only. - + - Initializes a new instance of the class. + Returns an enumerator that iterates through the collection. - The underlying type for the contract. + + A that can be used to iterate through the collection. + - + - Gets or sets the default collection items . + Adds an item to the . - The converter. + The object to add to the . + The is read-only. - + - Gets or sets a value indicating whether the collection items preserve object references. + Removes all items from the . - true if collection items preserve object references; otherwise, false. + The is read-only. - + - Gets or sets the collection item reference loop handling. + Determines whether the contains a specific value. - The reference loop handling. + The object to locate in the . + + true if is found in the ; otherwise, false. + - + - Gets or sets the collection item type name handling. + Copies to. - The type name handling. + The array. + Index of the array. - + - 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. + Gets a value indicating whether the is read-only. + true if the is read-only; otherwise, false. - + - Initializes a new instance of the class. + Removes the first occurrence of a specific object from the . + The object to remove from the . + + true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . + + The is read-only. - + - Writes the specified trace level, message and optional exception. + Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - + - Returns an enumeration of the most recent trace messages. + Gets the at the reader's current position. - An enumeration of the most recent trace messages. - + - Returns a of the most recent trace messages. + Initializes a new instance of the class. + + The token to read from. + + + + Reads the next JSON token from the stream. - A of the most recent trace messages. + true if the next token was read successfully; false if there are no more tokens to read. - + - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. + Gets the path of the current JSON token. - - The that will be used to filter the trace messages passed to the writer. - - + - Provides an interface to enable a class to return line and position information. + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - + - Gets a value indicating whether the class can return line information. + Gets the at the writer's current position. - - true if LineNumber and LinePosition can be provided; otherwise, false. - - + - Gets the current line number. + Gets the token being writen. - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). + The token being writen. - + - Gets the current line position. + Initializes a new instance of the class writing to the given . - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). + The container being written to. - + - Specifies how strings are escaped when writing JSON text. + Initializes a new instance of the class. - + - Only control characters (e.g. newline) are escaped. + Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - + - All non-ASCII and control characters (e.g. newline) are escaped. + Closes this stream and the underlying stream. - + - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. + Writes the beginning of a JSON object. - + - Represents a raw JSON string. + Writes the beginning of a JSON array. - + - Represents a value in JSON (string, integer, date, etc). + Writes the start of a constructor with the given name. + + The name of the constructor. + + + + Writes the end. + + The token. + + + + Writes the property name of a name/value pair on a JSON object. + + The name of the property. + + + + Writes a value. + An error will raised if the value cannot be written as a single JSON token. + + The value to write. + + + + Writes a null value. + + + + + Writes an undefined value. + + + + + Writes raw JSON. + + The raw JSON to write. + + + + Writes out a comment /*...*/ containing the specified text. + + Text to place inside the comment. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a [] value. + + The [] value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + The value to write. Represents an abstract JSON token. - + - Represents a collection of objects. + Gets a comparer that can compare two tokens for value equality. - The type of token + A that can compare two nodes for value equality. - + - Gets the with the specified key. + Gets or sets the parent. - + The parent. + + + + Gets the root of this . + + The root of this . + + + + Gets the node type for this . + + The type. + + + + Gets a value indicating whether this token has child tokens. + + + true if this token has child values; otherwise, false. + @@ -2215,6 +2590,23 @@ The second to compare. true if the tokens are equal; otherwise false. + + + Gets the next sibling token of this node. + + The that contains the next sibling token. + + + + Gets the previous sibling token of this node. + + The that contains the previous sibling token. + + + + Gets the path of the JSON token. + + Adds the specified content immediately after this token. @@ -2233,6 +2625,12 @@ A collection of the ancestor tokens of this token. + + + Returns a collection of tokens that contain this token, and the ancestors of this token. + + A collection of tokens that contain this token, and the ancestors of this token. + Returns a collection of the sibling tokens after this token, in document order. @@ -2245,6 +2643,12 @@ A collection of the sibling tokens before this token, in document order. + + + Gets the with the specified key. + + The with the specified key. + Gets the with the specified key converted to the specified type. @@ -2253,6 +2657,18 @@ The token key. The converted token value. + + + Get the first child token of this token. + + A containing the first child token of the . + + + + Get the last child token of this token. + + A containing the last child token of the . + Returns a collection of the child tokens of this token, in document order. @@ -2526,7 +2942,7 @@ - Performs an explicit conversion from to . + Performs an explicit conversion from to []. The value. The result of the conversion. @@ -2771,7 +3187,7 @@ - Performs an implicit conversion from to . + Performs an implicit conversion from [] to . The value to create a from. The initialized with the specified value. @@ -2873,25 +3289,60 @@ by the token type of the first token encountered in the reader. - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - + Creates a from a . An positioned at the token to read into this . + The used to load the JSON. + If this is null, default load settings will be used. An that contains the token and its descendant tokens that were read from the reader. The runtime type of the token is determined by the token type of the first token encountered in the reader. - + + + Load a from a string that contains JSON. + + A that contains JSON. + A populated from the string that contains JSON. + + + + Load a from a string that contains JSON. + + A that contains JSON. + The used to load the JSON. + If this is null, default load settings will be used. + A populated from the string that contains JSON. + + + + Creates a from a . + + An positioned at the token to read into this . + The used to load the JSON. + If this is null, default load settings will be used. + + An that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Creates a from a . + + An positioned at the token to read into this . + + An that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + Selects a using a JPath expression. Selects the token that matches the object path. @@ -2953,72 +3404,223 @@ A new instance of the . - + - Gets a comparer that can compare two tokens for value equality. + Adds an object to the annotation list of this . - A that can compare two nodes for value equality. + The annotation to add. - + - Gets or sets the parent. + Get the first annotation object of the specified type from this . - The parent. + The type of the annotation to retrieve. + The first annotation object that matches the specified type, or null if no annotation is of the specified type. - + - Gets the root of this . + Gets the first annotation object of the specified type from this . - The root of this . + The of the annotation to retrieve. + The first annotation object that matches the specified type, or null if no annotation is of the specified type. - + + + Gets a collection of annotations of the specified type for this . + + The type of the annotations to retrieve. + An that contains the annotations for this . + + + + Gets a collection of annotations of the specified type for this . + + The of the annotations to retrieve. + An of that contains the annotations that match the specified type for this . + + + + Removes the annotations of the specified type from this . + + The type of annotations to remove. + + + + Removes the annotations of the specified type from this . + + The of annotations to remove. + + + + Represents a JSON property. + + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Gets the property name. + + The property name. + + + + Gets or sets the property value. + + The property value. + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + Gets the node type for this . The type. - + - Gets a value indicating whether this token has child tokens. + Initializes a new instance of the class. - - true if this token has child values; otherwise, false. - + The property name. + The property content. - + - Gets the next sibling token of this node. + Initializes a new instance of the class. - The that contains the next sibling token. + The property name. + The property content. - + - Gets the previous sibling token of this node. + Writes this token to a . - The that contains the previous sibling token. + A into which this method will write. + A collection of which will be used when writing the token. - + - Gets the path of the JSON token. + Loads an from a . + A that will be read for the content of the . + A that contains the JSON that was read from the specified . - + - Gets the with the specified key. + Loads an from a . - The with the specified key. + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . - + - Get the first child token of this token. + Specifies the type of token. - A containing the first child token of the . - + - Get the last child token of this token. + No token type has been set. + + + + + A JSON object. + + + + + A JSON array. + + + + + A JSON constructor. + + + + + A JSON object property. + + + + + A comment. + + + + + An integer value. + + + + + A float value. + + + + + A string value. + + + + + A boolean value. + + + + + A null value. + + + + + An undefined value. + + + + + A date value. + + + + + A raw JSON value. + + + + + A collection of bytes value. + + + + + A Guid value. + + + + + A Uri value. + + + + + A TimeSpan value. + + + + + Represents a value in JSON (string, integer, date, etc). - A containing the last child token of the . @@ -3110,6 +3712,14 @@ The value. + + + Gets a value indicating whether this token has child tokens. + + + true if this token has child values; otherwise, false. + + Creates a comment with the given value. @@ -3132,9 +3742,21 @@ - Creates a null value. + Creates a undefined value. - A null value. + A undefined value. + + + + Gets the node type for this . + + The type. + + + + Gets or sets the underlying token value. + + The underlying token value. @@ -3237,76 +3859,224 @@ is not the same type as this instance. - + - Gets a value indicating whether this token has child tokens. + Specifies metadata property handling options for the . - - true if this token has child values; otherwise, false. - - + - Gets the node type for this . + Read metadata properties located at the start of a JSON object. - The type. - + - Gets or sets the underlying token value. + Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - The underlying token value. - + - Initializes a new instance of the class from another object. + Do not try to read metadata properties. - A object to copy from. - + - Initializes a new instance of the class. + Represents a trace writer that writes to the application's instances. - The raw json. - + - Creates an instance of with the content of the reader's current token. + Gets the that will be used to filter the trace messages passed to the writer. + For example a filter level of Info will exclude Verbose messages and include Info, + Warning and Error messages. - The reader. - An instance of with the content of the reader's current token. + + The that will be used to filter the trace messages passed to the writer. + - + - Indicating whether a property is required. + Writes the specified trace level, message and optional exception. + + The at which to write this trace. + The trace message. + The trace exception. This parameter is optional. + + + + Get and set values for a using dynamic methods. - + - The property is not required. The default state. + Initializes a new instance of the class. + The member info. - + - The property must be defined in JSON but can be a null value. + Sets the value. + + The target to set the value on. + The value to set on the target. + + + + Gets the value. + + The target to get the value from. + The value. + + + + Provides methods to get attributes. - + - The property must be defined in JSON and cannot be a null value. + Returns a collection of all of the attributes, or an empty collection if there are no attributes. + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. - + + + Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. + + The type of the attributes. + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Represents a trace writer. + + + + + Gets the that will be used to filter the trace messages passed to the writer. + For example a filter level of Info will exclude Verbose messages and include Info, + Warning and Error messages. + + The that will be used to filter the trace messages passed to the writer. + + + + Writes the specified trace level, message and optional exception. + + The at which to write this trace. + The trace message. + The trace exception. This parameter is optional. + + Contract details for a used by the . - + - Initializes a new instance of the class. + Gets or sets the default collection items . + + The converter. + + + + Gets or sets a value indicating whether the collection items preserve object references. + + true if collection items preserve object references; otherwise, false. + + + + Gets or sets the collection item reference loop handling. + + The reference loop handling. + + + + Gets or sets the collection item type name handling. + + The type name handling. + + + + Initializes a new instance of the class. The underlying type for the contract. + + + 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. + + + + + Gets the that will be used to filter the trace messages passed to the writer. + For example a filter level of Info will exclude Verbose messages and include Info, + Warning and Error messages. + + + The that will be used to filter the trace messages passed to the writer. + + + + + Initializes a new instance of the class. + + + + + Writes the specified trace level, message and optional exception. + + The at which to write this trace. + The trace message. + The trace exception. This parameter is optional. + + + + Returns an enumeration of the most recent trace messages. + + An enumeration of the most recent trace messages. + + + + Returns a of the most recent trace messages. + + + A of the most recent trace messages. + + + + + Provides methods to get attributes from a , , or . + + + + + Initializes a new instance of the class. + + The instance to get attributes for. This parameter should be a , , or . + + + + Returns a collection of all of the attributes, or an empty collection if there are no attributes. + + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. + + The type of the attributes. + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Contract details for a used by the . + + Gets the object's properties. @@ -3319,16 +4089,16 @@ The property name resolver. - + - Contract details for a used by the . + Initializes a new instance of the class. + The underlying type for the contract. - + - Initializes a new instance of the class. + Contract details for a used by the . - The underlying type for the contract. @@ -3336,6 +4106,12 @@ The ISerializable object constructor. + + + Initializes a new instance of the class. + + The underlying type for the contract. + Contract details for a used by the . @@ -3388,13 +4164,6 @@ Provides data for the Error event. - - - Initializes a new instance of the class. - - The current object. - The error context. - Gets the current object the error event is being raised against. @@ -3407,4401 +4176,4089 @@ The error context. - + - Represents a view of a . + Initializes a new instance of the class. + The current object. + The error context. - + - Initializes a new instance of the class. + Resolves member mappings for a type, camel casing property names. - The name. - + - When overridden in a derived class, returns whether resetting an object changes its value. + Initializes a new instance of the class. - - true if resetting the component changes its value; otherwise, false. - - The component to test for reset capability. - - + - When overridden in a derived class, gets the current value of the property on a component. + Resolves the name of the property. - - The value of a property for a given component. - - The component with the property for which to retrieve the value. - + Name of the property. + The property name camel cased. - + - When overridden in a derived class, resets the value for this property of the component to the default value. + Used by to resolves a for a given . - The component with the property value that is to be reset to the default value. - - + - When overridden in a derived class, sets the value of the component to a different value. + Gets a value indicating whether members are being get and set using dynamic code generation. + This value is determined by the runtime permissions available. - The component with the property value that is to be set. - The new value. - + + true if using dynamic code generation; otherwise, false. + - + - When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted. + Gets or sets the default members search flags. - - true if the property should be persisted; otherwise, false. - - The component with the property to be examined for persistence. - + The default members search flags. - + - When overridden in a derived class, gets the type of the component this property is bound to. + Gets or sets a value indicating whether compiler generated members should be serialized. - - A that represents the type of component this property is bound to. When the or methods are invoked, the object specified might be an instance of this type. - + + true if serialized compiler generated members; otherwise, false. + - + - When overridden in a derived class, gets a value indicating whether this property is read-only. + Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types. - - true if the property is read-only; otherwise, false. - + + true if the interface will be ignored when serializing and deserializing types; otherwise, false. + - + - When overridden in a derived class, gets the type of the property. + Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types. - - A that represents the type of the property. - + + true if the attribute will be ignored when serializing and deserializing types; otherwise, false. + - + - Gets the hash code for the name of the member. + Initializes a new instance of the class. - - - The hash code for the name of the member. - - + - Used to resolve references when serializing and deserializing JSON by the . + Initializes a new instance of the class. + + If set to true the will use a cached shared with other resolvers of the same type. + Sharing the cache will significantly improve performance with multiple resolver instances because expensive reflection will only + happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different + results. When set to false it is highly recommended to reuse instances with the . + - + - Resolves a reference to its object. + Resolves the contract for a given type. - The serialization context. - The reference to resolve. - The object that + The type to resolve a contract for. + The contract for a given type. - + - Gets the reference for the sepecified object. + Gets the serializable members for the type. - The serialization context. - The object to get a reference for. - The reference to the object. + The type to get serializable members for. + The serializable members for the type. - + - Determines whether the specified object is referenced. + Creates a for the given type. - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - + Type of the object. + A for the given type. - + - Adds a reference to the specified object. + Creates the constructor parameters. - The serialization context. - The reference. - The object to reference. + The constructor to create properties for. + The type's member properties. + Properties for the given . - + - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable. + Creates a for the given . - - - + The matching member property. + The constructor parameter. + A created for the given . - + - Do not preserve references when serializing types. + Resolves the default for the contract. + Type of the object. + The contract's default . - + - Preserve references when serializing into a JSON object structure. + Creates a for the given type. + Type of the object. + A for the given type. - + - Preserve references when serializing into a JSON array structure. + Creates a for the given type. + Type of the object. + A for the given type. - + - Preserve references when serializing. + Creates a for the given type. + Type of the object. + A for the given type. - + - Instructs the how to serialize the collection. + Creates a for the given type. + Type of the object. + A for the given type. - + - Initializes a new instance of the class. + Creates a for the given type. + Type of the object. + A for the given type. - + - Initializes a new instance of the class with a flag indicating whether the array can contain null items + Creates a for the given type. - A flag indicating whether the array can contain null items. + Type of the object. + A for the given type. - + - Initializes a new instance of the class with the specified container Id. + Creates a for the given type. - The container Id. + Type of the object. + A for the given type. - + - Gets or sets a value indicating whether null items are allowed in the collection. + Determines which contract type is created for the given type. - true if null items are allowed in the collection; otherwise, false. + Type of the object. + A for the given type. - + - Specifies default value handling options for the . + Creates properties for the given . - - - - + The type to create properties for. + /// The member serialization mode for the type. + Properties for the given . - + - Include members where the member value is the same as the member's default value when serializing objects. - Included members are written to JSON. Has no effect when deserializing. + Creates the used by the serializer to get and set values from a member. + The member. + The used by the serializer to get and set values from a member. - + - Ignore members where the member value is the same as the member's default value when serializing objects - so that is is not written to JSON. - This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, - decimals and floating point numbers; and false for booleans). The default value ignored can be changed by - placing the on the property. + Creates a for the given . + The member's parent . + The member to create a for. + A created for the given . - + - Members with a default value but no JSON will be set to their default value when deserializing. + Resolves the name of the property. + Name of the property. + Resolved name of the property. - + - Ignore members where the member value is the same as the member's default value when serializing objects - and sets members to their default value when deserializing. + Resolves the key of the dictionary. By default is used to resolve dictionary keys. + Key of the dictionary. + Resolved key of the dictionary. - + - Instructs the to use the specified when serializing the member or class. + Gets the resolved name of the property. + Name of the property. + Name of the property. - + - Initializes a new instance of the class. + The default serialization binder used when resolving and loading classes from type names. - Type of the converter. - + - Initializes a new instance of the class. + When overridden in a derived class, controls the binding of a serialized object to a type. - Type of the converter. - Parameter list to use when constructing the JsonConverter. Can be null. + Specifies the name of the serialized object. + Specifies the name of the serialized object. + + The type of the object the formatter creates a new instance of. + - + - Gets the type of the converter. + When overridden in a derived class, controls the binding of a serialized object to a type. - The type of the converter. + The type of the object the formatter creates a new instance of. + Specifies the name of the serialized object. + Specifies the name of the serialized object. - + - The parameter list to use when constructing the JsonConverter described by ConverterType. - If null, the default constructor is used. + Provides information surrounding an error. - + - Instructs the how to serialize the object. + Gets the error. + The error. - + - Initializes a new instance of the class. + Gets the original object that caused the error. + The original object that caused the error. - + - Initializes a new instance of the class with the specified member serialization. + Gets the member that caused the error. - The member serialization. + The member that caused the error. - + - Initializes a new instance of the class with the specified container Id. + Gets the path of the JSON location where the error occurred. - The container Id. + The path of the JSON location where the error occurred. - + - Gets or sets the member serialization. + Gets or sets a value indicating whether this is handled. - The member serialization. + true if handled; otherwise, false. - + - Gets or sets a value that indicates whether the object's properties are required. + Used by to resolves a for a given . - - A value indicating whether the object's properties are required. - + + + + - + - Specifies the settings on a object. + Resolves the contract for a given type. + The type to resolve a contract for. + The contract for a given type. - + - Initializes a new instance of the class. + Provides methods to get and set values. - + - Gets or sets how reference loops (e.g. a class referencing itself) is handled. + Sets the value. - Reference loop handling. + The target to set the value on. + The value to set on the target. - + - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. + Gets the value. - Missing member handling. + The target to get the value from. + The value. - + - Gets or sets how objects are created during deserialization. + Contract details for a used by the . - The object creation handling. - + - Gets or sets how null values are handled during serialization and deserialization. + Gets the of the collection items. - Null value handling. + The of the collection items. - + - Gets or sets how null default are handled during serialization and deserialization. + Gets a value indicating whether the collection type is a multidimensional array. - The default value handling. + true if the collection type is a multidimensional array; otherwise, false. - + - Gets or sets a collection that will be used during serialization. + Gets or sets the function used to create the object. When set this function will override . - The converters. + The function used to create the object. - + - Gets or sets how object references are preserved by the serializer. + Gets a value indicating whether the creator has a parameter with the collection values. - The preserve references handling. + true if the creator has a parameter with the collection values; otherwise, false. - + - Gets or sets how type name writing and reading is handled by the serializer. + Initializes a new instance of the class. - The type name handling. + The underlying type for the contract. - + - Gets or sets how metadata properties are used during deserialization. + Handles serialization callback events. - The metadata properties handling. + The object that raised the callback event. + The streaming context. - + - Gets or sets how a type name assembly is written and resolved by the serializer. + Handles serialization error callback events. - The type name assembly format. + The object that raised the callback event. + The streaming context. + The error context. - + - Gets or sets how constructors are used during deserialization. + Sets extension data for an object during deserialization. - The constructor handling. + The object to set extension data on. + The extension data key. + The extension data value. - + - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. + Gets extension data for an object during serialization. - The contract resolver. + The object to set extension data on. - + - Gets or sets the used by the serializer when resolving references. + Contract details for a used by the . - The reference resolver. - + - Gets or sets the used by the serializer when writing trace messages. + Gets the underlying type for the contract. - The trace writer. + The underlying type for the contract. - + - Gets or sets the used by the serializer when resolving type names. + Gets or sets the type created during deserialization. - The binder. + The type created during deserialization. - + - Gets or sets the error handler called during serialization and deserialization. + Gets or sets whether this type contract is serialized as a reference. - The error handler called during serialization and deserialization. + Whether this type contract is serialized as a reference. - + - Gets or sets the used by the serializer when invoking serialization callback methods. + Gets or sets the default for this contract. - The context. + The converter. - + - Get or set how and values are formatting when writing JSON text. + Gets or sets all methods called immediately after deserialization of the object. + The methods called immediately after deserialization of the object. - + - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + Gets or sets all methods called during deserialization of the object. + The methods called during deserialization of the object. - + - Indicates how JSON text output is formatted. + Gets or sets all methods called after serialization of the object graph. + The methods called after serialization of the object graph. - + - Get or set how dates are written to JSON text. + Gets or sets all methods called before serialization of the object. + The methods called before serialization of the object. - + - Get or set how time zones are handling during serialization and deserialization. + Gets or sets all method called when an error is thrown during the serialization of the object. + The methods called when an error is thrown during the serialization of the object. - + - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + Gets or sets the method called immediately after deserialization of the object. + The method called immediately after deserialization of the object. - + - Get or set how special floating point numbers, e.g. , - and , - are written as JSON. + Gets or sets the method called during deserialization of the object. + The method called during deserialization of the object. - + - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + Gets or sets the method called after serialization of the object graph. + The method called after serialization of the object graph. - + - Get or set how strings are escaped when writing JSON text. + Gets or sets the method called before serialization of the object. + The method called before serialization of the object. - + - Gets or sets the culture used when reading JSON. Defaults to . + Gets or sets the method called when an error is thrown during the serialization of the object. + The method called when an error is thrown during the serialization of the object. - + - Gets a value indicating whether there will be a check for additional content after deserializing an object. + Gets or sets the default creator method used to create the object. - - true if there will be a check for additional content after deserializing an object; otherwise, false. - + The default creator method used to create the object. - + - Represents a reader that provides validation. + Gets or sets a value indicating whether the default creator is non public. + true if the default object creator is non-public; otherwise, false. - + - Initializes a new instance of the class that - validates the content returned from the given . + Contract details for a used by the . - The to read from while validating. - + - Reads the next JSON token from the stream as a . + Gets or sets the property name resolver. - A . + The property name resolver. - + - Reads the next JSON token from the stream as a . + Gets or sets the dictionary key resolver. - - A or a null reference if the next JSON token is null. - + The dictionary key resolver. - + - Reads the next JSON token from the stream as a . + Gets the of the dictionary keys. - A . + The of the dictionary keys. - + - Reads the next JSON token from the stream as a . + Gets the of the dictionary values. - A . This method will return null at the end of an array. + The of the dictionary values. - + - Reads the next JSON token from the stream as a . + Gets or sets the function used to create the object. When set this function will override . - A . This method will return null at the end of an array. + The function used to create the object. - + - Reads the next JSON token from the stream as a . + Gets a value indicating whether the creator has a parameter with the dictionary values. - A . + true if the creator has a parameter with the dictionary values; otherwise, false. - + - Reads the next JSON token from the stream. + Initializes a new instance of the class. - - true if the next token was read successfully; false if there are no more tokens to read. - + The underlying type for the contract. - + - Sets an event handler for receiving schema validation errors. + Maps a JSON property to a .NET member or constructor parameter. - + - Gets the text value of the current JSON token. + Gets or sets the name of the property. - + The name of the property. - + - Gets the depth of the current token in the JSON document. + Gets or sets the type that declared this property. - The depth of the current token in the JSON document. + The type that declared this property. - + - Gets the path of the current JSON token. + Gets or sets the order of serialization of a member. + The numeric order of serialization. - + - Gets the quotation mark character used to enclose the value of a string. + Gets or sets the name of the underlying member or parameter. - + The name of the underlying member or parameter. - + - Gets the type of the current JSON token. + Gets the that will get and set the during serialization. - + The that will get and set the during serialization. - + - Gets the Common Language Runtime (CLR) type for the current JSON token. + Gets or sets the for this property. - + The for this property. - + - Gets or sets the schema. + Gets or sets the type of the property. - The schema. + The type of the property. - + - Gets the used to construct this . + Gets or sets the for the property. + If set this converter takes presidence over the contract converter for the property type. - The specified in the constructor. + The converter. - + - Compares tokens to determine whether they are equal. + Gets or sets the member converter. + The member converter. - + - Determines whether the specified objects are equal. + Gets or sets a value indicating whether this is ignored. - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - + true if ignored; otherwise, false. - + - Returns a hash code for the specified object. + Gets or sets a value indicating whether this is readable. - The for which a hash code is to be returned. - A hash code for the specified object. - The type of is a reference type and is null. + true if readable; otherwise, false. - + - Specifies the member serialization options for the . + Gets or sets a value indicating whether this is writable. + true if writable; otherwise, false. - + - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. + Gets or sets a value indicating whether this has a member attribute. + true if has a member attribute; otherwise, false. - + - Only members must be marked with or are serialized. - This member serialization mode can also be set by marking the class with . + Gets the default value. + The default value. - + - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. + Gets or sets a value indicating whether this is required. + A value indicating whether this is required. - + - Specifies how object creation is handled by the . + Gets or sets a value indicating whether this property preserves object references. + + true if this instance is reference; otherwise, false. + - + - Reuse existing objects, create new objects when needed. + Gets or sets the property null value handling. + The null value handling. - + - Only reuse existing objects. + Gets or sets the property default value handling. + The default value handling. - + - Always create new objects. + Gets or sets the property reference loop handling. + The reference loop handling. - + - Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z). + Gets or sets the property object creation handling. + The object creation handling. - + - Writes the JSON representation of the object. + Gets or sets or sets the type name handling. - The to write to. - The value. - The calling serializer. + The type name handling. - + - Reads the JSON representation of the object. + Gets or sets a predicate used to determine whether the property should be serialize. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + A predicate used to determine whether the property should be serialize. - + - Gets or sets the date time styles used when converting a date to and from JSON. + Gets or sets a predicate used to determine whether the property should be deserialized. - The date time styles used when converting a date to and from JSON. + A predicate used to determine whether the property should be deserialized. - + - Gets or sets the date time format used when converting a date to and from JSON. + Gets or sets a predicate used to determine whether the property should be serialized. - The date time format used when converting a date to and from JSON. + A predicate used to determine whether the property should be serialized. - + - Gets or sets the culture used when converting a date to and from JSON. + Gets or sets an action used to set whether the property has been deserialized. - The culture used when converting a date to and from JSON. + An action used to set whether the property has been deserialized. - + - Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)). + Returns a that represents this instance. + + A that represents this instance. + - + - Writes the JSON representation of the object. + Gets or sets the converter used when serializing the property's collection items. - The to write to. - The value. - The calling serializer. + The collection's items converter. - + - Reads the JSON representation of the object. + Gets or sets whether this property's collection items are serialized as a reference. - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. + Whether this property's collection items are serialized as a reference. - + - Converts XML to and from JSON. + Gets or sets the the type name handling used when serializing the property's collection items. + The collection's items type name handling. - + - Writes the JSON representation of the object. + Gets or sets the the reference loop handling used when serializing the property's collection items. - The to write to. - The calling serializer. - The value. + The collection's items reference loop handling. - + - Reads the JSON representation of the object. + A collection of objects. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - + - Checks if the attributeName is a namespace attribute. + Initializes a new instance of the class. - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - True if attribute name is for a namespace attribute, otherwise false. + The type. - + - Determines whether this instance can convert the specified value type. + When implemented in a derived class, extracts the key from the specified element. - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - + The element from which to extract the key. + The key for the specified element. - + - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements. + Adds a object. - The name of the deserialize root element. + The property to add to the collection. - + - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. + Gets the closest matching object. + First attempts to get an exact case match of propertyName and then + a case insensitive match. - true if the array attibute is written to the XML; otherwise, false. + Name of the property. + A matching property if found. - + - Gets or sets a value indicating whether to write the root JSON object. + Gets a property by property name. - true if the JSON root object is omitted; otherwise, false. + The name of the property to get. + Type property name string comparison. + A matching property if found. - + - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. + Used to resolve references when serializing and deserializing JSON by the . - + - Initializes a new instance of the class with the specified . + Resolves a reference to its object. - The TextReader containing the XML data to read. + The serialization context. + The reference to resolve. + The object that - + - Reads the next JSON token from the stream. + Gets the reference for the sepecified object. - - true if the next token was read successfully; false if there are no more tokens to read. - + The serialization context. + The object to get a reference for. + The reference to the object. - + - Reads the next JSON token from the stream as a . + Determines whether the specified object is referenced. + The serialization context. + The object to test for a reference. - A or a null reference if the next JSON token is null. This method will return null at the end of an array. + true if the specified object is referenced; otherwise, false. - + - Reads the next JSON token from the stream as a . + Adds a reference to the specified object. - A . This method will return null at the end of an array. + The serialization context. + The reference. + The object to reference. - + - Reads the next JSON token from the stream as a . + Contract details for a used by the . - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Gets or sets the object member serialization. - A . This method will return null at the end of an array. + The member object serialization. - + - Reads the next JSON token from the stream as a . + Gets or sets a value that indicates whether the object's properties are required. - A . This method will return null at the end of an array. + + A value indicating whether the object's properties are required. + - + - Reads the next JSON token from the stream as a . + Gets the object's properties. - A . This method will return null at the end of an array. + The object's properties. - + - Changes the state to closed. + Gets the constructor parameters required for any non-default constructor - + - Gets a value indicating whether the class can return line information. + Gets a collection of instances that define the parameters used with . - - true if LineNumber and LinePosition can be provided; otherwise, false. - - + - Gets the current line number. + Gets or sets the override constructor used to create the object. + This is set when a constructor is marked up using the + JsonConstructor attribute. - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - + The override constructor. - + - Gets the current line position. + Gets or sets the parametrized constructor used to create the object. - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - + The parametrized constructor. - + - Instructs the to always serialize the member with the specified name. + Gets or sets the function used to create the object. When set this function will override . + This function is called with a collection of arguments which are defined by the collection. + The function used to create the object. - + - Initializes a new instance of the class. + Gets or sets the extension data setter. - + - Initializes a new instance of the class with the specified name. + Gets or sets the extension data getter. - Name of the property. - + - Gets or sets the converter used when serializing the property's collection items. + Gets or sets the extension data value type. - The collection's items converter. - + - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. + Initializes a new instance of the class. - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - + The underlying type for the contract. - + - Gets or sets the null value handling used when serializing this property. + Contract details for a used by the . - The null value handling. - + - Gets or sets the default value handling used when serializing this property. + Initializes a new instance of the class. - The default value handling. + The underlying type for the contract. - + - Gets or sets the reference loop handling used when serializing this property. + Lookup and create an instance of the JsonConverter type described by the argument. - The reference loop handling. + The JsonConverter type to create. + Optional arguments to pass to an initializing constructor of the JsonConverter. + If null, the default constructor is used. - + - Gets or sets the object creation handling used when deserializing this property. + Create a factory function that can be used to create instances of a JsonConverter described by the + argument type. The returned function can then be used to either invoke the converter's default ctor, or any + parameterized constructors by way of an object array. - The object creation handling. - + - Gets or sets the type name handling used when serializing this property. + Get and set values for a using reflection. - The type name handling. - + - Gets or sets whether this property's value is serialized as a reference. + Initializes a new instance of the class. - Whether this property's value is serialized as a reference. + The member info. - + - Gets or sets the order of serialization and deserialization of a member. + Sets the value. - The numeric order of serialization or deserialization. + The target to set the value on. + The value to set on the target. - + - Gets or sets a value indicating whether this property is required. + Gets the value. - - A value indicating whether this property is required. - + The target to get the value from. + The value. - + - Gets or sets the name of the property. + When applied to a method, specifies that the method is called when an error occurs serializing an object. - The name of the property. - + - Gets or sets the the reference loop handling used when serializing the property's collection items. + Represents a method that constructs an object. - The collection's items reference loop handling. + The object type to create. - + - Gets or sets the the type name handling used when serializing the property's collection items. + Specifies how strings are escaped when writing JSON text. - The collection's items type name handling. - + - Gets or sets whether this property's collection items are serialized as a reference. + Only control characters (e.g. newline) are escaped. - Whether this property's collection items are serialized as a reference. - + - Instructs the not to serialize the public field or public read/write property value. + All non-ASCII and control characters (e.g. newline) are escaped. - + - Represents a writer that provides a fast, non-cached, forward-only way of generating Json data. + HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - + - Creates an instance of the JsonWriter class using the specified . + Helper method for generating a MetaObject which calls a + specific method on Dynamic that returns a result - The TextWriter to write to. - + - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. + Helper method for generating a MetaObject which calls a + specific method on Dynamic, but uses one of the arguments for + the result. - + - Closes this stream and the underlying stream. + Helper method for generating a MetaObject which calls a + specific method on Dynamic, but uses one of the arguments for + the result. - + - Writes the beginning of a Json object. + Returns a Restrictions object which includes our current restrictions merged + with a restriction limiting our type - + - Writes the beginning of a Json array. + Converts the value to the specified type. If the value is unable to be converted, the + value is checked whether it assignable to the specified type. + The value to convert. + The culture to use when converting. + The type to convert or cast the value to. + + The converted type. If conversion was unsuccessful, the initial value + is returned if assignable to the target type. + - + - Writes the start of a constructor with the given name. + Gets a dictionary of the names and values of an Enum type. - The name of the constructor. + - + - Writes the specified end token. + Gets a dictionary of the names and values of an Enum type. - The end token to write. + The enum type to get names and values for. + - + - Writes the property name of a name/value pair on a Json object. + Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer. - The name of the property. - + - Writes the property name of a name/value pair on a JSON object. + Determines whether the collection is null or empty. - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. + The collection. + + true if the collection is null or empty; otherwise, false. + - + - Writes indent characters. + Adds the elements of the specified collection to the specified generic IList. + The list to add to. + The collection of elements to add. - + - Writes the JSON value delimiter. + Returns the index of the first occurrence in a sequence by using a specified IEqualityComparer{TSource}. + The type of the elements of source. + A sequence in which to locate a value. + The object to locate in the sequence + An equality comparer to compare values. + The zero-based index of the first occurrence of value within the entire sequence, if found; otherwise, –1. - + - Writes an indent space. + Gets the type of the typed collection's items. + The type. + The type of the typed collection's items. - + - Writes a value. - An error will raised if the value cannot be written as a single JSON token. + Gets the member's underlying type. - The value to write. + The member. + The underlying type of the member. - + - Writes a null value. + Determines whether the member is an indexed property. + The member. + + true if the member is an indexed property; otherwise, false. + - + - Writes an undefined value. + Determines whether the property is an indexed property. + The property. + + true if the property is an indexed property; otherwise, false. + - + - Writes raw JSON. + Gets the member's value on the object. - The raw JSON to write. - - + The member. + The target object. + The member's value on the object. + + - Writes a value. + Sets the member's value on the target object. - The value to write. + The member. + The target. + The value. - + - Writes a value. + Determines whether the specified MemberInfo can be read. - The value to write. + The MemberInfo to determine whether can be read. + /// if set to true then allow the member to be gotten non-publicly. + + true if the specified MemberInfo can be read; otherwise, false. + - + - Writes a value. + Determines whether the specified MemberInfo can be set. - The value to write. + The MemberInfo to determine whether can be set. + if set to true then allow the member to be set non-publicly. + if set to true then allow the member to be set if read-only. + + true if the specified MemberInfo can be set; otherwise, false. + - + - Writes a value. + Determines whether the string is all white space. Empty string will return false. - The value to write. + The string to test whether it is all white space. + + true if the string is all white space; otherwise, false. + - + - Writes a value. + Nulls an empty string. - The value to write. + The string. + Null if the string was null, otherwise the string unchanged. - + - Writes a value. + Indicating whether a property is required. - The value to write. - + - Writes a value. + The property is not required. The default state. - The value to write. - + - Writes a value. + The property must be defined in JSON but can be a null value. - The value to write. - + - Writes a value. + The property must be defined in JSON and cannot be a null value. - The value to write. - + - Writes a value. + The property is not required but it cannot be a null value. - The value to write. - + - Writes a value. + Specifies reference handling options for the . + Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable. - The value to write. + + + - + - Writes a value. + Do not preserve references when serializing types. - The value to write. - + - Writes a value. + Preserve references when serializing into a JSON object structure. - The value to write. - + - Writes a value. + Preserve references when serializing into a JSON array structure. - The value to write. - + - Writes a value. + Preserve references when serializing. - The value to write. - + - Writes a value. + Provides an interface to enable a class to return line and position information. - The value to write. - + - Writes a value. + Gets a value indicating whether the class can return line information. - The value to write. + + true if LineNumber and LinePosition can be provided; otherwise, false. + - + - Writes a value. + Gets the current line number. - The value to write. + The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - + - Writes a value. + Gets the current line position. - The value to write. + The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - + - Writes a value. + Instructs the how to serialize the collection. - The value to write. - + - Writes a value. + Gets or sets a value indicating whether null items are allowed in the collection. - The value to write. + true if null items are allowed in the collection; otherwise, false. - + - Writes a value. + Initializes a new instance of the class. - The value to write. - + - Writes out a comment /*...*/ containing the specified text. + Initializes a new instance of the class with a flag indicating whether the array can contain null items - Text to place inside the comment. + A flag indicating whether the array can contain null items. - + - Writes out the given white space. + Initializes a new instance of the class with the specified container Id. - The string of white space characters. + The container Id. - + - Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented. + Instructs the how to serialize the object. - + - Gets or sets which character to use to quote attribute values. + Gets or sets the id. + The id. - + - Gets or sets which character to use for indenting when is set to Formatting.Indented. + Gets or sets the title. + The title. - + - Gets or sets a value indicating whether object names will be surrounded with quotes. + Gets or sets the description. + The description. - + - The exception thrown when an error occurs while reading Json text. + Gets the collection's items converter. + The collection's items converter. - + - Initializes a new instance of the class. + The parameter list to use when constructing the JsonConverter described by ItemConverterType. + If null, the default constructor is used. + When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, + order, and type of these parameters. + + [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] + - + - Initializes a new instance of the class - with a specified error message. + Gets or sets a value that indicates whether to preserve object references. - The error message that explains the reason for the exception. + + true to keep object reference; otherwise, false. The default is false. + - + - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. + Gets or sets a value that indicates whether to preserve collection's items references. - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. + + true to keep collection's items object references; otherwise, false. The default is false. + - + - Initializes a new instance of the class. + Gets or sets the reference loop handling used when serializing the collection's items. - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). + The reference loop handling. - + - Gets the path to the JSON where the error occurred. + Gets or sets the type name handling used when serializing the collection's items. - The path to the JSON where the error occurred. + The type name handling. - + - The exception thrown when an error occurs while reading Json text. + Initializes a new instance of the class. - + - Initializes a new instance of the class. + Initializes a new instance of the class with the specified container Id. + The container Id. - + - Initializes a new instance of the class - with a specified error message. + Specifies default value handling options for the . - The error message that explains the reason for the exception. + + + + - + - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. + Include members where the member value is the same as the member's default value when serializing objects. + Included members are written to JSON. Has no effect when deserializing. - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - + - Initializes a new instance of the class. + Ignore members where the member value is the same as the member's default value when serializing objects + so that is is not written to JSON. + This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, + decimals and floating point numbers; and false for booleans). The default value ignored can be changed by + placing the on the property. - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - + - Gets the line number indicating where the error occurred. + Members with a default value but no JSON will be set to their default value when deserializing. - The line number indicating where the error occurred. - + - Gets the line position indicating where the error occurred. + Ignore members where the member value is the same as the member's default value when serializing objects + and sets members to their default value when deserializing. - The line position indicating where the error occurred. - + - Gets the path to the JSON where the error occurred. + Instructs the to use the specified when serializing the member or class. - The path to the JSON where the error occurred. - + - Represents a collection of . + Gets the of the converter. + The of the converter. - + - Provides methods for converting between common language runtime types and JSON types. + The parameter list to use when constructing the JsonConverter described by ConverterType. + If null, the default constructor is used. - - - - + - Represents JavaScript's boolean value true as a string. This field is read-only. + Initializes a new instance of the class. + Type of the converter. - + - Represents JavaScript's boolean value false as a string. This field is read-only. + Initializes a new instance of the class. + Type of the converter. + Parameter list to use when constructing the JsonConverter. Can be null. - + - Represents JavaScript's null as a string. This field is read-only. + Instructs the how to serialize the object. - + - Represents JavaScript's undefined as a string. This field is read-only. + Gets or sets the member serialization. + The member serialization. - + - Represents JavaScript's positive infinity as a string. This field is read-only. + Gets or sets a value that indicates whether the object's properties are required. + + A value indicating whether the object's properties are required. + - + - Represents JavaScript's negative infinity as a string. This field is read-only. + Initializes a new instance of the class. - + - Represents JavaScript's NaN as a string. This field is read-only. + Initializes a new instance of the class with the specified member serialization. + The member serialization. - + - Converts the to its JSON string representation. + Initializes a new instance of the class with the specified container Id. - The value to convert. - A JSON string representation of the . + The container Id. - + - Converts the to its JSON string representation using the specified. + Specifies the settings on a object. - The value to convert. - The format the date will be converted to. - The time zone handling when the date is converted to a string. - A JSON string representation of the . - + - Converts the to its JSON string representation. + Gets or sets how reference loops (e.g. a class referencing itself) is handled. - The value to convert. - A JSON string representation of the . + Reference loop handling. - + - Converts the to its JSON string representation using the specified. + Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - The value to convert. - The format the date will be converted to. - A JSON string representation of the . + Missing member handling. - + - Converts the to its JSON string representation. + Gets or sets how objects are created during deserialization. - The value to convert. - A JSON string representation of the . + The object creation handling. - + - Converts the to its JSON string representation. + Gets or sets how null values are handled during serialization and deserialization. - The value to convert. - A JSON string representation of the . + Null value handling. - + - Converts the to its JSON string representation. + Gets or sets how null default are handled during serialization and deserialization. - The value to convert. - A JSON string representation of the . + The default value handling. - + - Converts the to its JSON string representation. + Gets or sets a collection that will be used during serialization. - The value to convert. - A JSON string representation of the . + The converters. - + - Converts the to its JSON string representation. + Gets or sets how object references are preserved by the serializer. - The value to convert. - A JSON string representation of the . + The preserve references handling. - + - Converts the to its JSON string representation. + Gets or sets how type name writing and reading is handled by the serializer. - The value to convert. - A JSON string representation of the . + + should be used with caution when your application deserializes JSON from an external source. + Incoming types should be validated with a custom + when deserializing with a value other than TypeNameHandling.None. + + The type name handling. - + - Converts the to its JSON string representation. + Gets or sets how metadata properties are used during deserialization. - The value to convert. - A JSON string representation of the . + The metadata properties handling. - + - Converts the to its JSON string representation. + Gets or sets how a type name assembly is written and resolved by the serializer. - The value to convert. - A JSON string representation of the . + The type name assembly format. - + - Converts the to its JSON string representation. + Gets or sets how constructors are used during deserialization. - The value to convert. - A JSON string representation of the . + The constructor handling. - + - Converts the to its JSON string representation. + Gets or sets the contract resolver used by the serializer when + serializing .NET objects to JSON and vice versa. - The value to convert. - A JSON string representation of the . + The contract resolver. - + - Converts the to its JSON string representation. + Gets or sets the equality comparer used by the serializer when comparing references. - The value to convert. - A JSON string representation of the . + The equality comparer. - + - Converts the to its JSON string representation. + Gets or sets the used by the serializer when resolving references. - The value to convert. - A JSON string representation of the . + The reference resolver. - + - Converts the to its JSON string representation. + Gets or sets a function that creates the used by the serializer when resolving references. - The value to convert. - A JSON string representation of the . + A function that creates the used by the serializer when resolving references. - + - Converts the to its JSON string representation. + Gets or sets the used by the serializer when writing trace messages. - The value to convert. - A JSON string representation of the . + The trace writer. - + - Converts the to its JSON string representation. + Gets or sets the used by the serializer when resolving type names. - The value to convert. - A JSON string representation of the . + The binder. - + - Converts the to its JSON string representation. + Gets or sets the error handler called during serialization and deserialization. - The value to convert. - A JSON string representation of the . + The error handler called during serialization and deserialization. - + - Converts the to its JSON string representation. + Gets or sets the used by the serializer when invoking serialization callback methods. - The value to convert. - A JSON string representation of the . + The context. - + - Converts the to its JSON string representation. + Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text. - The value to convert. - A JSON string representation of the . - + - Converts the to its JSON string representation. + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - The value to convert. - The string delimiter character. - A JSON string representation of the . - + - Converts the to its JSON string representation. + Indicates how JSON text output is formatted. - The value to convert. - The string delimiter character. - The string escape handling. - A JSON string representation of the . - + - Converts the to its JSON string representation. + Get or set how dates are written to JSON text. - The value to convert. - A JSON string representation of the . - + - Serializes the specified object to a JSON string. + Get or set how time zones are handling during serialization and deserialization. - The object to serialize. - A JSON string representation of the object. - + - Serializes the specified object to a JSON string using formatting. + Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - The object to serialize. - Indicates how the output is formatted. - - A JSON string representation of the object. - - + - Serializes the specified object to a JSON string using a collection of . + Get or set how special floating point numbers, e.g. , + and , + are written as JSON. - The object to serialize. - A collection converters used while serializing. - A JSON string representation of the object. - + - Serializes the specified object to a JSON string using formatting and a collection of . + Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - The object to serialize. - Indicates how the output is formatted. - A collection converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using formatting and . - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - A JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string. - Serialization will happen on a new thread. - - The object to serialize. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting. - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting and a collection of . - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Deserializes the JSON to a .NET object. - - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to a .NET object using . - - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The JSON to deserialize. - The of object being deserialized. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The type of the object to deserialize to. - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the given anonymous type. - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the given anonymous type using . - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The type of the object to deserialize to. - The JSON to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The type of the object to deserialize to. - The object to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The JSON to deserialize. - The type of the object to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Populates the object with values from the JSON string. - - The JSON to populate values from. - The target object to populate values onto. - - - - Populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - - - Asynchronously populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous populate operation. - - - - - Serializes the XML node to a JSON string. - - The node to serialize. - A JSON string of the XmlNode. - - - - Serializes the XML node to a JSON string using formatting. - - The node to serialize. - Indicates how the output is formatted. - A JSON string of the XmlNode. - - - - Serializes the XML node to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output is formatted. - Omits writing the root object. - A JSON string of the XmlNode. - - - - Deserializes the XmlNode from a JSON string. - - The JSON string. - The deserialized XmlNode - - - - Deserializes the XmlNode from a JSON string nested in a root elment specified by . - - The JSON string. - The name of the root element to append when deserializing. - The deserialized XmlNode - - - - Deserializes the XmlNode from a JSON string nested in a root elment specified by - and writes a .NET array attribute for collections. - - The JSON string. - The name of the root element to append when deserializing. - - A flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - The deserialized XmlNode - - - - Serializes the to a JSON string. - - The node to convert to JSON. - A JSON string of the XNode. - + - Serializes the to a JSON string using formatting. + Get or set how strings are escaped when writing JSON text. - The node to convert to JSON. - Indicates how the output is formatted. - A JSON string of the XNode. - + - Serializes the to a JSON string using formatting and omits the root object if is true. + Gets or sets the culture used when reading JSON. Defaults to . - The node to serialize. - Indicates how the output is formatted. - Omits writing the root object. - A JSON string of the XNode. - + - Deserializes the from a JSON string. + Gets a value indicating whether there will be a check for additional content after deserializing an object. - The JSON string. - The deserialized XNode + + true if there will be a check for additional content after deserializing an object; otherwise, false. + - + - Deserializes the from a JSON string nested in a root elment specified by . + Initializes a new instance of the class. - The JSON string. - The name of the root element to append when deserializing. - The deserialized XNode - + - Deserializes the from a JSON string nested in a root elment specified by - and writes a .NET array attribute for collections. + + Represents a reader that provides validation. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + - The JSON string. - The name of the root element to append when deserializing. - - A flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - The deserialized XNode - + - Gets or sets a function that creates default . - Default settings are automatically used by serialization methods on , - and and on . - To serialize without using any default settings create a with - . + Sets an event handler for receiving schema validation errors. - + - The exception thrown when an error occurs during Json serialization or deserialization. + Gets the text value of the current JSON token. + - + - Initializes a new instance of the class. + Gets the depth of the current token in the JSON document. + The depth of the current token in the JSON document. - + - Initializes a new instance of the class - with a specified error message. + Gets the path of the current JSON token. - The error message that explains the reason for the exception. - + - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. + Gets the quotation mark character used to enclose the value of a string. - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. + - + - Initializes a new instance of the class. + Gets the type of the current JSON token. - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). + - + - Serializes and deserializes objects into and from the JSON format. - The enables you to control how objects are encoded into JSON. + Gets the Common Language Runtime (CLR) type for the current JSON token. + - + - Initializes a new instance of the class. + Initializes a new instance of the class that + validates the content returned from the given . + The to read from while validating. - + - Creates a new instance. - The will not use default settings. + Gets or sets the schema. - - A new instance. - The will not use default settings. - + The schema. - + - Creates a new instance using the specified . - The will not use default settings. + Gets the used to construct this . - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings. - + The specified in the constructor. - + - Creates a new instance. - The will use default settings. + Reads the next JSON token from the stream as a . - - A new instance. - The will use default settings. - + A . - + - Creates a new instance using the specified . - The will use default settings. + Reads the next JSON token from the stream as a []. - The settings to be applied to the . - A new instance using the specified . - The will use default settings. + A [] or a null reference if the next JSON token is null. - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Deserializes the Json structure contained by the specified . - - The that contains the JSON structure to deserialize. - The being deserialized. - - - - Deserializes the Json structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Deserializes the Json structure contained by the specified - into an instance of the specified type. - - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. - - - - Deserializes the Json structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Serializes the specified and writes the Json structure - to a Stream using the specified . - - The used to write the Json structure. - The to serialize. - - - - Serializes the specified and writes the Json structure - to a Stream using the specified . - - The used to write the Json structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - - - Serializes the specified and writes the Json structure - to a Stream using the specified . - - The used to write the Json structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - - - Serializes the specified and writes the Json structure - to a Stream using the specified . - - The used to write the Json structure. - The to serialize. - - - - Occurs when the errors during serialization and deserialization. - - - - - Gets or sets the used by the serializer when resolving references. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - + - Gets or sets how a type name assembly is written and resolved by the serializer. + Reads the next JSON token from the stream as a . - The type name assembly format. + A . - + - Gets or sets how object references are preserved by the serializer. + Reads the next JSON token from the stream as a . + A . - + - Get or set how reference loops (e.g. a class referencing itself) is handled. + Reads the next JSON token from the stream as a . + A . - + - Get or set how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. + Reads the next JSON token from the stream as a . + A . This method will return null at the end of an array. - + - Get or set how null values are handled during serialization and deserialization. + Reads the next JSON token from the stream as a . + A . This method will return null at the end of an array. - + - Get or set how null default are handled during serialization and deserialization. + Reads the next JSON token from the stream as a . + A . - + - Gets or sets how objects are created during deserialization. + Reads the next JSON token from the stream. - The object creation handling. + + true if the next token was read successfully; false if there are no more tokens to read. + - + - Gets or sets how constructors are used during deserialization. + Specifies the member serialization options for the . - The constructor handling. - + - Gets or sets how metadata properties are used during deserialization. + All public members are serialized by default. Members can be excluded using or . + This is the default member serialization mode. - The metadata properties handling. - + - Gets a collection that will be used during serialization. + Only members marked with or are serialized. + This member serialization mode can also be set by marking the class with . - Collection that will be used during serialization. - + - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. + All public and private fields are serialized. Members can be excluded using or . + This member serialization mode can also be set by marking the class with + and setting IgnoreSerializableAttribute on to false. - + - Gets or sets the used by the serializer when invoking serialization callback methods. + Specifies how object creation is handled by the . - The context. - + - Indicates how JSON text output is formatted. + Reuse existing objects, create new objects when needed. - + - Get or set how dates are written to JSON text. + Only reuse existing objects. - + - Get or set how time zones are handling during serialization and deserialization. + Always create new objects. - + - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - + - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + Initializes a new instance of the class with the specified . + The TextReader containing the XML data to read. - + - Get or set how special floating point numbers, e.g. , - and , - are written as JSON text. + Gets or sets the reader's character buffer pool. - + - Get or set how strings are escaped when writing JSON text. + Reads the next JSON token from the stream. + + true if the next token was read successfully; false if there are no more tokens to read. + - + - Get or set how and values are formatting when writing JSON text. + Reads the next JSON token from the stream as a . + A . This method will return null at the end of an array. - + - Gets or sets the culture used when reading JSON. Defaults to . + Reads the next JSON token from the stream as a . + A . This method will return null at the end of an array. - + - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + Reads the next JSON token from the stream as a . + A . This method will return null at the end of an array. - + - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. + Reads the next JSON token from the stream as a []. - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - + A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - + - Contains the LINQ to JSON extension methods. + Reads the next JSON token from the stream as a . + A . This method will return null at the end of an array. - + - Returns a collection of tokens that contains the ancestors of every token in the source collection. + Reads the next JSON token from the stream as a . - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every node in the source collection. + A . This method will return null at the end of an array. - + - Returns a collection of tokens that contains the descendants of every token in the source collection. + Reads the next JSON token from the stream as a . - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every node in the source collection. + A . This method will return null at the end of an array. - + - Returns a collection of child properties of every object in the source collection. + Reads the next JSON token from the stream as a . - An of that contains the source collection. - An of that contains the properties of every object in the source collection. + A . This method will return null at the end of an array. - + - Returns a collection of child values of every object in the source collection with the given key. + Changes the state to closed. - An of that contains the source collection. - The token key. - An of that contains the values of every node in the source collection with the given key. - + - Returns a collection of child values of every object in the source collection. + Gets a value indicating whether the class can return line information. - An of that contains the source collection. - An of that contains the values of every node in the source collection. + + true if LineNumber and LinePosition can be provided; otherwise, false. + - + - Returns a collection of converted child values of every object in the source collection with the given key. + Gets the current line number. - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every node in the source collection with the given key. + + The current line number or 0 if no line information is available (for example, HasLineInfo returns false). + - + - Returns a collection of converted child values of every object in the source collection. + Gets the current line position. - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every node in the source collection. + + The current line position or 0 if no line information is available (for example, HasLineInfo returns false). + - + - Converts the value. + Instructs the to always serialize the member with the specified name. - The type to convert the value to. - A cast as a of . - A converted value. - + - Converts the value. + Gets or sets the converter used when serializing the property's collection items. - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. + The collection's items converter. - + - Returns a collection of child tokens of every array in the source collection. + The parameter list to use when constructing the JsonConverter described by ItemConverterType. + If null, the default constructor is used. + When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, + order, and type of these parameters. - The source collection type. - An of that contains the source collection. - An of that contains the values of every node in the source collection. + + [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] + - + - Returns a collection of converted child tokens of every array in the source collection. + Gets or sets the null value handling used when serializing this property. - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every node in the source collection. + The null value handling. - + - Returns the input typed as . + Gets or sets the default value handling used when serializing this property. - An of that contains the source collection. - The input typed as . + The default value handling. - + - Returns the input typed as . + Gets or sets the reference loop handling used when serializing this property. - The source collection type. - An of that contains the source collection. - The input typed as . + The reference loop handling. - + - Represents a JSON constructor. + Gets or sets the object creation handling used when deserializing this property. + The object creation handling. - + - Represents a token that can contain other tokens. + Gets or sets the type name handling used when serializing this property. + The type name handling. - + - Raises the event. + Gets or sets whether this property's value is serialized as a reference. - The instance containing the event data. + Whether this property's value is serialized as a reference. - + - Raises the event. + Gets or sets the order of serialization of a member. - The instance containing the event data. + The numeric order of serialization. - + - Raises the event. + Gets or sets a value indicating whether this property is required. - The instance containing the event data. + + A value indicating whether this property is required. + - + - Returns a collection of the child tokens of this token, in document order. + Gets or sets the name of the property. - - An of containing the child tokens of this , in document order. - + The name of the property. - + - Returns a collection of the child values of this token, in document order. + Gets or sets the the reference loop handling used when serializing the property's collection items. - The type to convert the values to. - - A containing the child values of this , in document order. - + The collection's items reference loop handling. - + - Returns a collection of the descendant tokens for this token in document order. + Gets or sets the the type name handling used when serializing the property's collection items. - An containing the descendant tokens of the . + The collection's items type name handling. - + - Adds the specified content as children of this . + Gets or sets whether this property's collection items are serialized as a reference. - The content to be added. + Whether this property's collection items are serialized as a reference. - + - Adds the specified content as the first children of this . + Initializes a new instance of the class. - The content to be added. - + - Creates an that can be used to add tokens to the . + Initializes a new instance of the class with the specified name. - An that is ready to have content written to it. + Name of the property. - + - Replaces the children nodes of this token with the specified content. + Instructs the not to serialize the public field or public read/write property value. - The content. - + - Removes the child nodes from this token. + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - + - Merge the specified content into this . + Gets or sets the writer's character array pool. - The content to be merged. - + - Merge the specified content into this using . + Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented. - The content to be merged. - The used to merge the content. - + - Occurs when the list changes or an item in the list changes. + Gets or sets which character to use to quote attribute values. - + - Occurs before an item is added to the collection. + Gets or sets which character to use for indenting when is set to Formatting.Indented. - + - Occurs when the items list of the collection has changed, or the collection is reset. + Gets or sets a value indicating whether object names will be surrounded with quotes. - + - Gets the container's children tokens. + Creates an instance of the JsonWriter class using the specified . - The container's children tokens. + The TextWriter to write to. - + - Gets a value indicating whether this token has child tokens. + Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - true if this token has child values; otherwise, false. - - + - Get the first child token of this token. + Closes this stream and the underlying stream. - - A containing the first child token of the . - - + - Get the last child token of this token. + Writes the beginning of a JSON object. - - A containing the last child token of the . - - + - Gets the count of child JSON tokens. + Writes the beginning of a JSON array. - The count of child JSON tokens - + - Initializes a new instance of the class. + Writes the start of a constructor with the given name. + The name of the constructor. - + - Initializes a new instance of the class from another object. + Writes the specified end token. - A object to copy from. + The end token to write. - + - Initializes a new instance of the class with the specified name and content. + Writes the property name of a name/value pair on a JSON object. - The constructor name. - The contents of the constructor. + The name of the property. - + - Initializes a new instance of the class with the specified name and content. + Writes the property name of a name/value pair on a JSON object. - The constructor name. - The contents of the constructor. + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. - + - Initializes a new instance of the class with the specified name. + Writes indent characters. - The constructor name. - + - Writes this token to a . + Writes the JSON value delimiter. - A into which this method will write. - A collection of which will be used when writing the token. - + - Loads an from a . + Writes an indent space. - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - + - Gets the container's children tokens. + Writes a value. + An error will raised if the value cannot be written as a single JSON token. - The container's children tokens. + The value to write. - + - Gets or sets the name of this constructor. + Writes a null value. - The constructor name. - + - Gets the node type for this . + Writes an undefined value. - The type. - + - Gets the with the specified key. + Writes raw JSON. - The with the specified key. + The raw JSON to write. - + - Represents a collection of objects. + Writes a value. - The type of token + The value to write. - + - An empty collection of objects. + Writes a value. + The value to write. - + - Initializes a new instance of the struct. + Writes a value. - The enumerable. + The value to write. - + - Returns an enumerator that iterates through the collection. + Writes a value. - - A that can be used to iterate through the collection. - + The value to write. - + - Returns an enumerator that iterates through a collection. + Writes a value. - - An object that can be used to iterate through the collection. - + The value to write. - + - Determines whether the specified is equal to this instance. + Writes a value. - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - + The value to write. - + - Determines whether the specified is equal to this instance. + Writes a value. - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - + The value to write. - + - Returns a hash code for this instance. + Writes a value. - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - + The value to write. - + - Gets the with the specified key. + Writes a value. - + The value to write. - + - Represents a JSON object. + Writes a value. - - - + The value to write. - + - Initializes a new instance of the class. + Writes a value. + The value to write. - + - Initializes a new instance of the class from another object. + Writes a value. - A object to copy from. + The value to write. - + - Initializes a new instance of the class with the specified content. + Writes a value. - The contents of the object. + The value to write. - + - Initializes a new instance of the class with the specified content. + Writes a value. - The contents of the object. + The value to write. - + - Gets an of this object's properties. + Writes a value. - An of this object's properties. + The value to write. - + - Gets a the specified name. + Writes a value. - The property name. - A with the specified name or null. + The value to write. - + - Gets an of this object's property values. + Writes a value. - An of this object's property values. + The value to write. - + - Loads an from a . + Writes a [] value. - A that will be read for the content of the . - A that contains the JSON that was read from the specified . + The [] value to write. - + - Load a from a string that contains JSON. + Writes a value. - A that contains JSON. - A populated from the string that contains JSON. - - - + The value to write. - + - Creates a from an object. + Writes a value. - The object that will be used to create . - A with the values of the specified object + The value to write. - + - Creates a from an object. + Writes a value. - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object + The value to write. - + - Writes this token to a . + Writes a value. - A into which this method will write. - A collection of which will be used when writing the token. + The value to write. - + - Gets the with the specified property name. + Writes out a comment /*...*/ containing the specified text. - Name of the property. - The with the specified property name. + Text to place inside the comment. - + - Gets the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. + Writes out the given white space. - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. + The string of white space characters. - + - Tries to get the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. + The exception thrown when an error occurs while reading JSON text. - Name of the property. - The value. - One of the enumeration values that specifies how the strings will be compared. - true if a value was successfully retrieved; otherwise, false. - + - Adds the specified property name. + Gets the path to the JSON where the error occurred. - Name of the property. - The value. + The path to the JSON where the error occurred. - + - Removes the property with the specified name. + Initializes a new instance of the class. - Name of the property. - true if item was successfully removed; otherwise, false. - + - Tries the get value. + Initializes a new instance of the class + with a specified error message. - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. + The error message that explains the reason for the exception. - + - Returns an enumerator that iterates through the collection. + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. - - A that can be used to iterate through the collection. - + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - + - Raises the event with the provided arguments. + Initializes a new instance of the class. - Name of the property. + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is null. + The class name is null or is zero (0). - + - Raises the event with the provided arguments. + The exception thrown when an error occurs while reading JSON text. - Name of the property. - + - Returns the properties for this instance of a component. + Gets the line number indicating where the error occurred. - - A that represents the properties for this component instance. - + The line number indicating where the error occurred. - + - Returns the properties for this instance of a component using the attribute array as a filter. + Gets the line position indicating where the error occurred. - An array of type that is used as a filter. - - A that represents the filtered properties for this component instance. - + The line position indicating where the error occurred. - + - Returns a collection of custom attributes for this instance of a component. + Gets the path to the JSON where the error occurred. - - An containing the attributes for this object. - + The path to the JSON where the error occurred. - + - Returns the class name of this instance of a component. + Initializes a new instance of the class. - - The class name of the object, or null if the class does not have a name. - - + - Returns the name of this instance of a component. + Initializes a new instance of the class + with a specified error message. - - The name of the object, or null if the object does not have a name. - + The error message that explains the reason for the exception. - + - Returns a type converter for this instance of a component. + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. - - A that is the converter for this object, or null if there is no for this object. - + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - + - Returns the default event for this instance of a component. + Initializes a new instance of the class. - - An that represents the default event for this object, or null if this object does not have events. - + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is null. + The class name is null or is zero (0). - + - Returns the default property for this instance of a component. + Converts an object to and from JSON. - - A that represents the default property for this object, or null if this object does not have properties. - - + - Returns an editor of the specified type for this instance of a component. + Writes the JSON representation of the object. - A that represents the editor for this object. - - An of the specified type that is the editor for this object, or null if the editor cannot be found. - + The to write to. + The value. + The calling serializer. - + - Returns the events for this instance of a component using the specified attribute array as a filter. + Reads the JSON representation of the object. - An array of type that is used as a filter. - - An that represents the filtered events for this component instance. - + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Returns the events for this instance of a component. + Determines whether this instance can convert the specified object type. + Type of the object. - An that represents the events for this component instance. + true if this instance can convert the specified object type; otherwise, false. - + - Returns an object that contains the property described by the specified property descriptor. + + Gets the of the JSON produced by the JsonConverter. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + - A that represents the property whose owner is to be found. - - An that represents the owner of the specified property. - + The of the JSON produced by the JsonConverter. - + - Returns the responsible for binding operations performed on this object. + Gets a value indicating whether this can read JSON. - The expression tree representation of the runtime value. - - The to bind this object. - + true if this can read JSON; otherwise, false. - + - Gets the container's children tokens. + Gets a value indicating whether this can write JSON. - The container's children tokens. + true if this can write JSON; otherwise, false. - + - Occurs when a property value changes. + Represents a collection of . - + - Occurs when a property value is changing. + Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - + - Gets the node type for this . + Specifies the state of the reader. - The type. - + - Gets the with the specified key. + The Read method has not been called. - The with the specified key. - + - Gets or sets the with the specified property name. + The end of the file has been reached successfully. - - + - Represents a JSON array. + Reader is at a property. - - - - + - Initializes a new instance of the class. + Reader is at the start of an object. - + - Initializes a new instance of the class from another object. + Reader is in an object. - A object to copy from. - + - Initializes a new instance of the class with the specified content. + Reader is at the start of an array. - The contents of the array. - + - Initializes a new instance of the class with the specified content. + Reader is in an array. - The contents of the array. - + - Loads an from a . + The Close method has been called. - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - + - Load a from a string that contains JSON. + Reader has just read a value. - A that contains JSON. - A populated from the string that contains JSON. - - - - + - Creates a from an object. + Reader is at the start of a constructor. - The object that will be used to create . - A with the values of the specified object - + - Creates a from an object. + Reader in a constructor. - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - + - Writes this token to a . + An error occurred that prevents the read operation from continuing. - A into which this method will write. - A collection of which will be used when writing the token. - + - Determines the index of a specific item in the . + The end of the file has been reached successfully. - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - + - Inserts an item to the at the specified index. + Gets the current reader state. - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - The is read-only. + The current reader state. - + - Removes the item at the specified index. + Gets or sets a value indicating whether the underlying stream or + should be closed when the reader is closed. - The zero-based index of the item to remove. - - is not a valid index in the . - The is read-only. + + true to close the underlying stream or when + the reader is closed; otherwise false. The default is true. + - + - Returns an enumerator that iterates through the collection. + Gets or sets a value indicating whether multiple pieces of JSON content can + be read from a continuous stream without erroring. - - A that can be used to iterate through the collection. - + + true to support reading multiple pieces of JSON content; otherwise false. The default is false. + - + - Adds an item to the . + Gets the quotation mark character used to enclose the value of a string. - The object to add to the . - The is read-only. - + - Removes all items from the . + Get or set how time zones are handling when reading JSON. - The is read-only. - + - Determines whether the contains a specific value. + Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - The object to locate in the . - - true if is found in the ; otherwise, false. - - + - Copies to. + Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - The array. - Index of the array. - + - Removes the first occurrence of a specific object from the . + Get or set how custom date formatted strings are parsed when reading JSON. - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - The is read-only. - + - Gets the container's children tokens. + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - The container's children tokens. - + - Gets the node type for this . + Gets the type of the current JSON token. - The type. - + - Gets the with the specified key. + Gets the text value of the current JSON token. - The with the specified key. - + - Gets or sets the at the specified index. + Gets The Common Language Runtime (CLR) type for the current JSON token. - - + - Gets a value indicating whether the is read-only. + Gets the depth of the current token in the JSON document. - true if the is read-only; otherwise, false. + The depth of the current token in the JSON document. - + - Represents a reader that provides fast, non-cached, forward-only access to serialized Json data. + Gets the path of the current JSON token. - + - Initializes a new instance of the class. + Gets or sets the culture used when reading JSON. Defaults to . - The token to read from. - + - Reads the next JSON token from the stream as a . + Initializes a new instance of the class with the specified . - - A or a null reference if the next JSON token is null. This method will return null at the end of an array. - - + - Reads the next JSON token from the stream as a . + Reads the next JSON token from the stream. - A . This method will return null at the end of an array. + true if the next token was read successfully; false if there are no more tokens to read. - + Reads the next JSON token from the stream as a . A . This method will return null at the end of an array. - + Reads the next JSON token from the stream as a . A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Reads the next JSON token from the stream as a []. - A . This method will return null at the end of an array. + A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - + Reads the next JSON token from the stream as a . A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream. + Reads the next JSON token from the stream as a . - - true if the next token was read successfully; false if there are no more tokens to read. - + A . This method will return null at the end of an array. - + - Gets the path of the current JSON token. + Reads the next JSON token from the stream as a . + A . This method will return null at the end of an array. - + - Represents a writer that provides a fast, non-cached, forward-only way of generating Json data. + Reads the next JSON token from the stream as a . + A . This method will return null at the end of an array. - + - Initializes a new instance of the class writing to the given . + Reads the next JSON token from the stream as a . - The container being written to. + A . This method will return null at the end of an array. - + - Initializes a new instance of the class. + Skips the children of the current token. - + - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. + Sets the current token. + The new token. - + - Closes this stream and the underlying stream. + Sets the current token and value. + The new token. + The value. - + - Writes the beginning of a Json object. + Sets the state based on current token type. - + - Writes the beginning of a Json array. + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - + - Writes the start of a constructor with the given name. + Releases unmanaged and - optionally - managed resources - The name of the constructor. + true to release both managed and unmanaged resources; false to release only unmanaged resources. - + - Writes the end. + Changes the to Closed. - The token. - + - Writes the property name of a name/value pair on a Json object. + Provides methods for converting between common language runtime types and JSON types. - The name of the property. + + + - + - Writes a value. - An error will raised if the value cannot be written as a single JSON token. + Gets or sets a function that creates default . + Default settings are automatically used by serialization methods on , + and and on . + To serialize without using any default settings create a with + . - The value to write. - + - Writes a null value. + Represents JavaScript's boolean value true as a string. This field is read-only. - + - Writes an undefined value. + Represents JavaScript's boolean value false as a string. This field is read-only. - + - Writes raw JSON. + Represents JavaScript's null as a string. This field is read-only. - The raw JSON to write. - + - Writes out a comment /*...*/ containing the specified text. + Represents JavaScript's undefined as a string. This field is read-only. - Text to place inside the comment. - + - Writes a value. + Represents JavaScript's positive infinity as a string. This field is read-only. - The value to write. - + - Writes a value. + Represents JavaScript's negative infinity as a string. This field is read-only. - The value to write. - + - Writes a value. + Represents JavaScript's NaN as a string. This field is read-only. - The value to write. - + - Writes a value. + Converts the to its JSON string representation. - The value to write. + The value to convert. + A JSON string representation of the . - + - Writes a value. + Converts the to its JSON string representation using the specified. - The value to write. + The value to convert. + The format the date will be converted to. + The time zone handling when the date is converted to a string. + A JSON string representation of the . - + - Writes a value. + Converts the to its JSON string representation. - The value to write. + The value to convert. + A JSON string representation of the . - + - Writes a value. + Converts the to its JSON string representation using the specified. - The value to write. + The value to convert. + The format the date will be converted to. + A JSON string representation of the . - + - Writes a value. + Converts the to its JSON string representation. - The value to write. + The value to convert. + A JSON string representation of the . - + - Writes a value. + Converts the to its JSON string representation. - The value to write. + The value to convert. + A JSON string representation of the . - + - Writes a value. + Converts the to its JSON string representation. - The value to write. + The value to convert. + A JSON string representation of the . - + - Writes a value. + Converts the to its JSON string representation. - The value to write. + The value to convert. + A JSON string representation of the . - + - Writes a value. + Converts the to its JSON string representation. - The value to write. + The value to convert. + A JSON string representation of the . - + - Writes a value. + Converts the to its JSON string representation. - The value to write. + The value to convert. + A JSON string representation of the . - + - Writes a value. + Converts the to its JSON string representation. - The value to write. + The value to convert. + A JSON string representation of the . - + - Writes a value. + Converts the to its JSON string representation. - The value to write. + The value to convert. + A JSON string representation of the . - + - Writes a value. + Converts the to its JSON string representation. - The value to write. + The value to convert. + A JSON string representation of the . - + - Writes a value. + Converts the to its JSON string representation. - The value to write. + The value to convert. + A JSON string representation of the . - + - Writes a value. + Converts the to its JSON string representation. - The value to write. + The value to convert. + A JSON string representation of the . - + - Writes a value. + Converts the to its JSON string representation. - The value to write. + The value to convert. + A JSON string representation of the . - + - Writes a value. + Converts the to its JSON string representation. - The value to write. + The value to convert. + A JSON string representation of the . - + - Gets the token being writen. + Converts the to its JSON string representation. - The token being writen. + The value to convert. + A JSON string representation of the . - + - Represents a JSON property. + Converts the to its JSON string representation. + The value to convert. + A JSON string representation of the . - + - Initializes a new instance of the class from another object. + Converts the to its JSON string representation. - A object to copy from. + The value to convert. + A JSON string representation of the . - + - Initializes a new instance of the class. + Converts the to its JSON string representation. - The property name. - The property content. + The value to convert. + A JSON string representation of the . - + - Initializes a new instance of the class. + Converts the to its JSON string representation. - The property name. - The property content. + The value to convert. + A JSON string representation of the . - + - Writes this token to a . + Converts the to its JSON string representation. - A into which this method will write. - A collection of which will be used when writing the token. + The value to convert. + The string delimiter character. + A JSON string representation of the . - + - Loads an from a . + Converts the to its JSON string representation. - A that will be read for the content of the . - A that contains the JSON that was read from the specified . + The value to convert. + The string delimiter character. + The string escape handling. + A JSON string representation of the . - + - Gets the container's children tokens. + Converts the to its JSON string representation. - The container's children tokens. + The value to convert. + A JSON string representation of the . - + - Gets the property name. + Serializes the specified object to a JSON string. - The property name. + The object to serialize. + A JSON string representation of the object. - + - Gets or sets the property value. + Serializes the specified object to a JSON string using formatting. - The property value. + The object to serialize. + Indicates how the output is formatted. + + A JSON string representation of the object. + - + - Gets the node type for this . + Serializes the specified object to a JSON string using a collection of . - The type. + The object to serialize. + A collection converters used while serializing. + A JSON string representation of the object. - + - Specifies the type of token. + Serializes the specified object to a JSON string using formatting and a collection of . + The object to serialize. + Indicates how the output is formatted. + A collection converters used while serializing. + A JSON string representation of the object. - + - No token type has been set. + Serializes the specified object to a JSON string using . + The object to serialize. + The used to serialize the object. + If this is null, default serialization settings will be used. + + A JSON string representation of the object. + - + - A JSON object. + Serializes the specified object to a JSON string using a type, formatting and . + The object to serialize. + The used to serialize the object. + If this is null, default serialization settings will be used. + + The type of the value being serialized. + This parameter is used when is Auto to write out the type name if the type of the value does not match. + Specifing the type is optional. + + + A JSON string representation of the object. + - + - A JSON array. + Serializes the specified object to a JSON string using formatting and . + The object to serialize. + Indicates how the output is formatted. + The used to serialize the object. + If this is null, default serialization settings will be used. + + A JSON string representation of the object. + - + - A JSON constructor. + Serializes the specified object to a JSON string using a type, formatting and . + The object to serialize. + Indicates how the output is formatted. + The used to serialize the object. + If this is null, default serialization settings will be used. + + The type of the value being serialized. + This parameter is used when is Auto to write out the type name if the type of the value does not match. + Specifing the type is optional. + + + A JSON string representation of the object. + - + - A JSON object property. + Asynchronously serializes the specified object to a JSON string. + Serialization will happen on a new thread. + The object to serialize. + + A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. + - + - A comment. + Asynchronously serializes the specified object to a JSON string using formatting. + Serialization will happen on a new thread. + The object to serialize. + Indicates how the output is formatted. + + A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. + - + - An integer value. + Asynchronously serializes the specified object to a JSON string using formatting and a collection of . + Serialization will happen on a new thread. + The object to serialize. + Indicates how the output is formatted. + The used to serialize the object. + If this is null, default serialization settings will be used. + + A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. + - + - A float value. + Deserializes the JSON to a .NET object. + The JSON to deserialize. + The deserialized object from the JSON string. - + - A string value. + Deserializes the JSON to a .NET object using . + The JSON to deserialize. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + The deserialized object from the JSON string. - + - A boolean value. + Deserializes the JSON to the specified .NET type. + The JSON to deserialize. + The of object being deserialized. + The deserialized object from the JSON string. - + - A null value. + Deserializes the JSON to the specified .NET type. + The type of the object to deserialize to. + The JSON to deserialize. + The deserialized object from the JSON string. - + - An undefined value. + Deserializes the JSON to the given anonymous type. + + The anonymous type to deserialize to. This can't be specified + traditionally and must be infered from the anonymous type passed + as a parameter. + + The JSON to deserialize. + The anonymous type object. + The deserialized anonymous type from the JSON string. - + - A date value. + Deserializes the JSON to the given anonymous type using . + + The anonymous type to deserialize to. This can't be specified + traditionally and must be infered from the anonymous type passed + as a parameter. + + The JSON to deserialize. + The anonymous type object. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + The deserialized anonymous type from the JSON string. - + - A raw JSON value. + Deserializes the JSON to the specified .NET type using a collection of . + The type of the object to deserialize to. + The JSON to deserialize. + Converters to use while deserializing. + The deserialized object from the JSON string. - + - A collection of bytes value. + Deserializes the JSON to the specified .NET type using . + The type of the object to deserialize to. + The object to deserialize. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + The deserialized object from the JSON string. - + - A Guid value. + Deserializes the JSON to the specified .NET type using a collection of . + The JSON to deserialize. + The type of the object to deserialize. + Converters to use while deserializing. + The deserialized object from the JSON string. - + - A Uri value. + Deserializes the JSON to the specified .NET type using . + The JSON to deserialize. + The type of the object to deserialize to. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + The deserialized object from the JSON string. - + - A TimeSpan value. + Asynchronously deserializes the JSON to the specified .NET type. + Deserialization will happen on a new thread. + The type of the object to deserialize to. + The JSON to deserialize. + + A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. + - + - Contains the JSON schema extension methods. + Asynchronously deserializes the JSON to the specified .NET type using . + Deserialization will happen on a new thread. + The type of the object to deserialize to. + The JSON to deserialize. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + + A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. + - + - Determines whether the is valid. + Asynchronously deserializes the JSON to the specified .NET type. + Deserialization will happen on a new thread. - The source to test. - The schema to test with. + The JSON to deserialize. - true if the specified is valid; otherwise, false. + A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - + - Determines whether the is valid. + Asynchronously deserializes the JSON to the specified .NET type using . + Deserialization will happen on a new thread. - The source to test. - The schema to test with. - When this method returns, contains any error messages generated while validating. + The JSON to deserialize. + The type of the object to deserialize to. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + - true if the specified is valid; otherwise, false. + A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - + - Validates the specified . + Populates the object with values from the JSON string. - The source to test. - The schema to test with. + The JSON to populate values from. + The target object to populate values onto. - + - Validates the specified . + Populates the object with values from the JSON string using . - The source to test. - The schema to test with. - The validation event handler. + The JSON to populate values from. + The target object to populate values onto. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + - + + + Asynchronously populates the object with values from the JSON string using . + + The JSON to populate values from. + The target object to populate values onto. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + + A task that represents the asynchronous populate operation. + + + - Returns detailed information about the schema exception. + Serializes the XML node to a JSON string. + The node to serialize. + A JSON string of the XmlNode. - + - Initializes a new instance of the class. + Serializes the XML node to a JSON string using formatting. + The node to serialize. + Indicates how the output is formatted. + A JSON string of the XmlNode. - + - Initializes a new instance of the class - with a specified error message. + Serializes the XML node to a JSON string using formatting and omits the root object if is true. - The error message that explains the reason for the exception. + The node to serialize. + Indicates how the output is formatted. + Omits writing the root object. + A JSON string of the XmlNode. - + - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. + Deserializes the XmlNode from a JSON string. - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. + The JSON string. + The deserialized XmlNode - + - Initializes a new instance of the class. + Deserializes the XmlNode from a JSON string nested in a root elment specified by . - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). + The JSON string. + The name of the root element to append when deserializing. + The deserialized XmlNode - + - Gets the line number indicating where the error occurred. + Deserializes the XmlNode from a JSON string nested in a root elment specified by + and writes a .NET array attribute for collections. - The line number indicating where the error occurred. + The JSON string. + The name of the root element to append when deserializing. + + A flag to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. + + The deserialized XmlNode - + - Gets the line position indicating where the error occurred. + Serializes the to a JSON string. - The line position indicating where the error occurred. + The node to convert to JSON. + A JSON string of the XNode. - + - Gets the path to the JSON where the error occurred. + Serializes the to a JSON string using formatting. - The path to the JSON where the error occurred. + The node to convert to JSON. + Indicates how the output is formatted. + A JSON string of the XNode. - + - Resolves from an id. + Serializes the to a JSON string using formatting and omits the root object if is true. + The node to serialize. + Indicates how the output is formatted. + Omits writing the root object. + A JSON string of the XNode. - + - Initializes a new instance of the class. + Deserializes the from a JSON string. + The JSON string. + The deserialized XNode - + - Gets a for the specified reference. + Deserializes the from a JSON string nested in a root elment specified by . - The id. - A for the specified reference. + The JSON string. + The name of the root element to append when deserializing. + The deserialized XNode - + - Gets or sets the loaded schemas. + Deserializes the from a JSON string nested in a root elment specified by + and writes a .NET array attribute for collections. - The loaded schemas. + The JSON string. + The name of the root element to append when deserializing. + + A flag to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. + + The deserialized XNode - + - Specifies undefined schema Id handling options for the . + The exception thrown when an error occurs during JSON serialization or deserialization. - + - Do not infer a schema Id. + Initializes a new instance of the class. - + - Use the .NET type name as the schema Id. + Initializes a new instance of the class + with a specified error message. + The error message that explains the reason for the exception. - + - Use the assembly qualified .NET type name as the schema Id. + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - + - Returns detailed information related to the . + Initializes a new instance of the class. + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is null. + The class name is null or is zero (0). - + - Gets the associated with the validation error. + Serializes and deserializes objects into and from the JSON format. + The enables you to control how objects are encoded into JSON. - The JsonSchemaException associated with the validation error. - + - Gets the path of the JSON location where the validation error occurred. + Occurs when the errors during serialization and deserialization. - The path of the JSON location where the validation error occurred. - + - Gets the text description corresponding to the validation error. + Gets or sets the used by the serializer when resolving references. - The text description. - + - Represents the callback method that will handle JSON schema validation events and the . + Gets or sets the used by the serializer when resolving type names. - + - Resolves member mappings for a type, camel casing property names. + Gets or sets the used by the serializer when writing trace messages. + The trace writer. - + - Used by to resolves a for a given . + Gets or sets the equality comparer used by the serializer when comparing references. + The equality comparer. - + - Used by to resolves a for a given . + Gets or sets how type name writing and reading is handled by the serializer. - - - - + + should be used with caution when your application deserializes JSON from an external source. + Incoming types should be validated with a custom + when deserializing with a value other than TypeNameHandling.None. + - + - Resolves the contract for a given type. + Gets or sets how a type name assembly is written and resolved by the serializer. - The type to resolve a contract for. - The contract for a given type. + The type name assembly format. - + - Initializes a new instance of the class. + Gets or sets how object references are preserved by the serializer. - + - Initializes a new instance of the class. + Get or set how reference loops (e.g. a class referencing itself) is handled. - - If set to true the will use a cached shared with other resolvers of the same type. - Sharing the cache will significantly improve performance with multiple resolver instances because expensive reflection will only - happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different - results. When set to false it is highly recommended to reuse instances with the . - - + - Resolves the contract for a given type. + Get or set how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - The type to resolve a contract for. - The contract for a given type. - + - Gets the serializable members for the type. + Get or set how null values are handled during serialization and deserialization. - The type to get serializable members for. - The serializable members for the type. - + - Creates a for the given type. + Get or set how null default are handled during serialization and deserialization. - Type of the object. - A for the given type. - + - Creates the constructor parameters. + Gets or sets how objects are created during deserialization. - The constructor to create properties for. - The type's member properties. - Properties for the given . + The object creation handling. - + - Creates a for the given . + Gets or sets how constructors are used during deserialization. - The matching member property. - The constructor parameter. - A created for the given . + The constructor handling. - + - Resolves the default for the contract. + Gets or sets how metadata properties are used during deserialization. - Type of the object. - The contract's default . + The metadata properties handling. - + - Creates a for the given type. + Gets a collection that will be used during serialization. - Type of the object. - A for the given type. + Collection that will be used during serialization. - + - Creates a for the given type. + Gets or sets the contract resolver used by the serializer when + serializing .NET objects to JSON and vice versa. - Type of the object. - A for the given type. - + - Creates a for the given type. + Gets or sets the used by the serializer when invoking serialization callback methods. - Type of the object. - A for the given type. + The context. - + - Creates a for the given type. + Indicates how JSON text output is formatted. - Type of the object. - A for the given type. - + - Creates a for the given type. + Get or set how dates are written to JSON text. - Type of the object. - A for the given type. - + - Creates a for the given type. + Get or set how time zones are handling during serialization and deserialization. - Type of the object. - A for the given type. - + - Creates a for the given type. + Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - Type of the object. - A for the given type. - + - Determines which contract type is created for the given type. + Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - Type of the object. - A for the given type. - + - Creates properties for the given . + Get or set how special floating point numbers, e.g. , + and , + are written as JSON text. - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - + - Creates the used by the serializer to get and set values from a member. + Get or set how strings are escaped when writing JSON text. - The member. - The used by the serializer to get and set values from a member. - + - Creates a for the given . + Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text. - The member's parent . - The member to create a for. - A created for the given . - + - Resolves the name of the property. + Gets or sets the culture used when reading JSON. Defaults to . - Name of the property. - Name of the property. - + - Gets the resolved name of the property. + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - Name of the property. - Name of the property. - + - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. + Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. - true if using dynamic code generation; otherwise, false. + true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - + - Gets or sets the default members search flags. + Initializes a new instance of the class. - The default members search flags. - + - Gets or sets a value indicating whether compiler generated members should be serialized. + Creates a new instance. + The will not use default settings + from . - - true if serialized compiler generated members; otherwise, false. - + + A new instance. + The will not use default settings + from . + - + - Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types. + Creates a new instance using the specified . + The will not use default settings + from . - - true if the interface will be ignored when serializing and deserializing types; otherwise, false. - + The settings to be applied to the . + + A new instance using the specified . + The will not use default settings + from . + - + - Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types. + Creates a new instance. + The will use default settings + from . - - true if the attribute will be ignored when serializing and deserializing types; otherwise, false. - + + A new instance. + The will use default settings + from . + - + - Initializes a new instance of the class. + Creates a new instance using the specified . + The will use default settings + from as well as the specified . + The settings to be applied to the . + + A new instance using the specified . + The will use default settings + from as well as the specified . + - + - Resolves the name of the property. + Populates the JSON values onto the target object. - Name of the property. - The property name camel cased. + The that contains the JSON structure to reader values from. + The target object to populate values onto. - + - The default serialization binder used when resolving and loading classes from type names. + Populates the JSON values onto the target object. + The that contains the JSON structure to reader values from. + The target object to populate values onto. - + - When overridden in a derived class, controls the binding of a serialized object to a type. + Deserializes the JSON structure contained by the specified . - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - The type of the object the formatter creates a new instance of. - + The that contains the JSON structure to deserialize. + The being deserialized. - + - When overridden in a derived class, controls the binding of a serialized object to a type. + Deserializes the JSON structure contained by the specified + into an instance of the specified type. - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. + The containing the object. + The of object being deserialized. + The instance of being deserialized. - + - Provides information surrounding an error. + Deserializes the JSON structure contained by the specified + into an instance of the specified type. + The containing the object. + The type of the object to deserialize. + The instance of being deserialized. - + - Gets the error. + Deserializes the JSON structure contained by the specified + into an instance of the specified type. - The error. + The containing the object. + The of object being deserialized. + The instance of being deserialized. - + - Gets the original object that caused the error. + Serializes the specified and writes the JSON structure + to a Stream using the specified . - The original object that caused the error. + The used to write the JSON structure. + The to serialize. - + - Gets the member that caused the error. + Serializes the specified and writes the JSON structure + to a Stream using the specified . - The member that caused the error. + The used to write the JSON structure. + The to serialize. + + The type of the value being serialized. + This parameter is used when is Auto to write out the type name if the type of the value does not match. + Specifing the type is optional. + - + - Gets the path of the JSON location where the error occurred. + Serializes the specified and writes the JSON structure + to a Stream using the specified . - The path of the JSON location where the error occurred. + The used to write the JSON structure. + The to serialize. + + The type of the value being serialized. + This parameter is used when is Auto to write out the type name if the type of the value does not match. + Specifing the type is optional. + - + - Gets or sets a value indicating whether this is handled. + Serializes the specified and writes the JSON structure + to a Stream using the specified . - true if handled; otherwise, false. + The used to write the JSON structure. + The to serialize. - + - Contract details for a used by the . + + Contains the JSON schema extension methods. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + - + - Initializes a new instance of the class. + + Determines whether the is valid. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + - The underlying type for the contract. + The source to test. + The schema to test with. + + true if the specified is valid; otherwise, false. + - + - Gets the of the collection items. + + Determines whether the is valid. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + - The of the collection items. + The source to test. + The schema to test with. + When this method returns, contains any error messages generated while validating. + + true if the specified is valid; otherwise, false. + - + - Gets a value indicating whether the collection type is a multidimensional array. + + Validates the specified . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + - true if the collection type is a multidimensional array; otherwise, false. + The source to test. + The schema to test with. - + - Handles serialization callback events. + + Validates the specified . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + - The object that raised the callback event. - The streaming context. + The source to test. + The schema to test with. + The validation event handler. - + - Handles serialization error callback events. + + Returns detailed information about the schema exception. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + - The object that raised the callback event. - The streaming context. - The error context. - + - Sets extension data for an object during deserialization. + Gets the line number indicating where the error occurred. - The object to set extension data on. - The extension data key. - The extension data value. + The line number indicating where the error occurred. - + - Gets extension data for an object during serialization. + Gets the line position indicating where the error occurred. - The object to set extension data on. + The line position indicating where the error occurred. + + + + Gets the path to the JSON where the error occurred. + + The path to the JSON where the error occurred. - + - Contract details for a used by the . + Initializes a new instance of the class. - + - Initializes a new instance of the class. + Initializes a new instance of the class + with a specified error message. - The underlying type for the contract. + The error message that explains the reason for the exception. - + - Gets or sets the property name resolver. + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. - The property name resolver. + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - + - Gets the of the dictionary keys. + Initializes a new instance of the class. - The of the dictionary keys. + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is null. + The class name is null or is zero (0). - + - Gets the of the dictionary values. + + Resolves from an id. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + - The of the dictionary values. - + - Maps a JSON property to a .NET member or constructor parameter. + Gets or sets the loaded schemas. + The loaded schemas. - + - Returns a that represents this instance. + Initializes a new instance of the class. - - A that represents this instance. - - + - Gets or sets the name of the property. + Gets a for the specified reference. - The name of the property. + The id. + A for the specified reference. - + - Gets or sets the type that declared this property. + + Specifies undefined schema Id handling options for the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + - The type that declared this property. - + - Gets or sets the order of serialization and deserialization of a member. + Do not infer a schema Id. - The numeric order of serialization or deserialization. - + - Gets or sets the name of the underlying member or parameter. + Use the .NET type name as the schema Id. - The name of the underlying member or parameter. - + - Gets the that will get and set the during serialization. + Use the assembly qualified .NET type name as the schema Id. - The that will get and set the during serialization. - + - Gets or sets the type of the property. + + Returns detailed information related to the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + - The type of the property. - + - Gets or sets the for the property. - If set this converter takes presidence over the contract converter for the property type. + Gets the associated with the validation error. - The converter. + The JsonSchemaException associated with the validation error. - + - Gets or sets the member converter. + Gets the path of the JSON location where the validation error occurred. - The member converter. + The path of the JSON location where the validation error occurred. - + - Gets or sets a value indicating whether this is ignored. + Gets the text description corresponding to the validation error. - true if ignored; otherwise, false. + The text description. - + - Gets or sets a value indicating whether this is readable. + + Represents the callback method that will handle JSON schema validation events and the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + - true if readable; otherwise, false. - + - Gets or sets a value indicating whether this is writable. + + An in-memory representation of a JSON Schema. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + - true if writable; otherwise, false. - + - Gets or sets a value indicating whether this has a member attribute. + Gets or sets the id. - true if has a member attribute; otherwise, false. - + - Gets the default value. + Gets or sets the title. - The default value. - + - Gets or sets a value indicating whether this is required. + Gets or sets whether the object is required. - A value indicating whether this is required. - + - Gets or sets a value indicating whether this property preserves object references. + Gets or sets whether the object is read only. - - true if this instance is reference; otherwise, false. - - + - Gets or sets the property null value handling. + Gets or sets whether the object is visible to users. - The null value handling. - + - Gets or sets the property default value handling. + Gets or sets whether the object is transient. - The default value handling. - + - Gets or sets the property reference loop handling. + Gets or sets the description of the object. - The reference loop handling. - + - Gets or sets the property object creation handling. + Gets or sets the types of values allowed by the object. - The object creation handling. + The type. - + - Gets or sets or sets the type name handling. + Gets or sets the pattern. - The type name handling. + The pattern. - + - Gets or sets a predicate used to determine whether the property should be serialize. + Gets or sets the minimum length. - A predicate used to determine whether the property should be serialize. + The minimum length. - + - Gets or sets a predicate used to determine whether the property should be serialized. + Gets or sets the maximum length. - A predicate used to determine whether the property should be serialized. + The maximum length. - + - Gets or sets an action used to set whether the property has been deserialized. + Gets or sets a number that the value should be divisble by. - An action used to set whether the property has been deserialized. + A number that the value should be divisble by. - + - Gets or sets the converter used when serializing the property's collection items. + Gets or sets the minimum. - The collection's items converter. + The minimum. - + - Gets or sets whether this property's collection items are serialized as a reference. + Gets or sets the maximum. - Whether this property's collection items are serialized as a reference. + The maximum. - + - Gets or sets the the type name handling used when serializing the property's collection items. + Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute. - The collection's items type name handling. + A flag indicating whether the value can not equal the number defined by the "minimum" attribute. - + - Gets or sets the the reference loop handling used when serializing the property's collection items. + Gets or sets a flag indicating whether the value can not equal the number defined by the "maximum" attribute. - The collection's items reference loop handling. + A flag indicating whether the value can not equal the number defined by the "maximum" attribute. - + - A collection of objects. + Gets or sets the minimum number of items. + The minimum number of items. - + - Initializes a new instance of the class. + Gets or sets the maximum number of items. - The type. + The maximum number of items. - + - When implemented in a derived class, extracts the key from the specified element. + Gets or sets the of items. - The element from which to extract the key. - The key for the specified element. + The of items. - + - Adds a object. + Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - The property to add to the collection. + + true if items are validated using their array position; otherwise, false. + - + - Gets the closest matching object. - First attempts to get an exact case match of propertyName and then - a case insensitive match. + Gets or sets the of additional items. - Name of the property. - A matching property if found. + The of additional items. - + - Gets a property by property name. + Gets or sets a value indicating whether additional items are allowed. - The name of the property to get. - Type property name string comparison. - A matching property if found. + + true if additional items are allowed; otherwise, false. + - + - Specifies missing member handling options for the . + Gets or sets whether the array items must be unique. - + - Ignore a missing member and do not attempt to deserialize it. + Gets or sets the of properties. + The of properties. - + - Throw a when a missing member is encountered during deserialization. + Gets or sets the of additional properties. + The of additional properties. - + - Specifies null value handling options for the . + Gets or sets the pattern properties. - - - - + The pattern properties. - + - Include null values when serializing and deserializing objects. + Gets or sets a value indicating whether additional properties are allowed. + + true if additional properties are allowed; otherwise, false. + - + - Ignore null values when serializing and deserializing objects. + Gets or sets the required property if this property is present. + The required property if this property is present. - + - Specifies reference loop handling options for the . + Gets or sets the a collection of valid enum values allowed. + A collection of valid enum values allowed. - + - Throw a when a loop is encountered. + Gets or sets disallowed types. + The disallow types. - + - Ignore loop references and do not serialize. + Gets or sets the default value. + The default value. - + - Serialize loop references. + Gets or sets the collection of that this schema extends. + The collection of that this schema extends. - + - An in-memory representation of a JSON Schema. + Gets or sets the format. + The format. @@ -7859,726 +8316,755 @@ A that represents the current . - + - Gets or sets the id. + + Generates a from a specified . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + - + - Gets or sets the title. + Gets or sets how undefined schemas are handled by the serializer. - + - Gets or sets whether the object is required. + Gets or sets the contract resolver. + The contract resolver. - + - Gets or sets whether the object is read only. + Generate a from the specified type. + The type to generate a from. + A generated from the specified type. - + - Gets or sets whether the object is visible to users. + Generate a from the specified type. + The type to generate a from. + The used to resolve schema references. + A generated from the specified type. - + - Gets or sets whether the object is transient. + Generate a from the specified type. + The type to generate a from. + Specify whether the generated root will be nullable. + A generated from the specified type. - + - Gets or sets the description of the object. + Generate a from the specified type. + The type to generate a from. + The used to resolve schema references. + Specify whether the generated root will be nullable. + A generated from the specified type. - + - Gets or sets the types of values allowed by the object. + + The value types allowed by the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + - The type. - + - Gets or sets the pattern. + No type specified. - The pattern. - + - Gets or sets the minimum length. + String type. - The minimum length. - + - Gets or sets the maximum length. + Float type. - The maximum length. - + - Gets or sets a number that the value should be divisble by. + Integer type. - A number that the value should be divisble by. - + - Gets or sets the minimum. + Boolean type. - The minimum. - + - Gets or sets the maximum. + Object type. - The maximum. - + - Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute. + Array type. - A flag indicating whether the value can not equal the number defined by the "minimum" attribute. - + - Gets or sets a flag indicating whether the value can not equal the number defined by the "maximum" attribute. + Null type. - A flag indicating whether the value can not equal the number defined by the "maximum" attribute. - + - Gets or sets the minimum number of items. + Any type. - The minimum number of items. - + - Gets or sets the maximum number of items. + Specifies missing member handling options for the . - The maximum number of items. - + - Gets or sets the of items. + Ignore a missing member and do not attempt to deserialize it. - The of items. - + - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . + Throw a when a missing member is encountered during deserialization. - - true if items are validated using their array position; otherwise, false. - - + - Gets or sets the of additional items. + Specifies null value handling options for the . - The of additional items. + + + + - + - Gets or sets a value indicating whether additional items are allowed. + Include null values when serializing and deserializing objects. - - true if additional items are allowed; otherwise, false. - - + - Gets or sets whether the array items must be unique. + Ignore null values when serializing and deserializing objects. - + - Gets or sets the of properties. + Specifies reference loop handling options for the . - The of properties. - + - Gets or sets the of additional properties. + Throw a when a loop is encountered. - The of additional properties. - + - Gets or sets the pattern properties. + Ignore loop references and do not serialize. - The pattern properties. - + - Gets or sets a value indicating whether additional properties are allowed. + Serialize loop references. - - true if additional properties are allowed; otherwise, false. - - + - Gets or sets the required property if this property is present. + Specifies type name handling options for the . - The required property if this property is present. + + should be used with caution when your application deserializes JSON from an external source. + Incoming types should be validated with a custom + when deserializing with a value other than TypeNameHandling.None. + - + + + Do not include the .NET type name when serializing types. + + + + + Include the .NET type name when serializing into a JSON object structure. + + + + + Include the .NET type name when serializing into a JSON array structure. + + + + + Always include the .NET type name when serializing. + + + + + Include the .NET type name when the type of the object being serialized is not the same as its declared type. + + + + + Specifies the type of JSON token. + + + + + This is returned by the if a method has not been called. + + + + + An object start token. + + + + + An array start token. + + + + + A constructor start token. + + + + + An object property name. + + + + + A comment. + + + - Gets or sets the a collection of valid enum values allowed. + Raw JSON. - A collection of valid enum values allowed. - + - Gets or sets disallowed types. + An integer. - The disallow types. - + - Gets or sets the default value. + A float. - The default value. - + - Gets or sets the collection of that this schema extends. + A string. - The collection of that this schema extends. - + - Gets or sets the format. + A boolean. - The format. - + - Generates a from a specified . + A null token. - + - Generate a from the specified type. + An undefined token. - The type to generate a from. - A generated from the specified type. - + - Generate a from the specified type. + An object end token. - The type to generate a from. - The used to resolve schema references. - A generated from the specified type. - + - Generate a from the specified type. + An array end token. - The type to generate a from. - Specify whether the generated root will be nullable. - A generated from the specified type. - + - Generate a from the specified type. + A constructor end token. - The type to generate a from. - The used to resolve schema references. - Specify whether the generated root will be nullable. - A generated from the specified type. - + - Gets or sets how undefined schemas are handled by the serializer. + A Date. - + - Gets or sets the contract resolver. + Byte data. - The contract resolver. - + - The value types allowed by the . + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - + - No type specified. + Gets or sets a value indicating whether the underlying stream or + should be closed when the writer is closed. + + true to close the underlying stream or when + the writer is closed; otherwise false. The default is true. + - + - String type. + Gets the top. + The top. - + - Float type. + Gets the state of the writer. - + - Integer type. + Gets the path of the writer. - + - Boolean type. + Indicates how JSON text output is formatted. - + - Object type. + Get or set how dates are written to JSON text. - + - Array type. + Get or set how time zones are handling when writing JSON text. - + - Null type. + Get or set how strings are escaped when writing JSON text. - + - Any type. + Get or set how special floating point numbers, e.g. , + and , + are written to JSON text. - + - Contract details for a used by the . + Get or set how and values are formatting when writing JSON text. - + - Initializes a new instance of the class. + Gets or sets the culture used when writing JSON. Defaults to . - The underlying type for the contract. - + - Gets or sets the object member serialization. + Creates an instance of the JsonWriter class. - The member object serialization. - + - Gets or sets a value that indicates whether the object's properties are required. + Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - A value indicating whether the object's properties are required. - - + - Gets the object's properties. + Closes this stream and the underlying stream. - The object's properties. - + - Gets the constructor parameters required for any non-default constructor + Writes the beginning of a JSON object. - + - Gets a collection of instances that define the parameters used with . + Writes the end of a JSON object. - + - Gets or sets the override constructor used to create the object. - This is set when a constructor is marked up using the - JsonConstructor attribute. + Writes the beginning of a JSON array. - The override constructor. - + - Gets or sets the parametrized constructor used to create the object. + Writes the end of an array. - The parametrized constructor. - + - Gets or sets the function used to create the object. When set this function will override . - This function is called with a collection of arguments which are defined by the collection. + Writes the start of a constructor with the given name. - The function used to create the object. + The name of the constructor. - + - Gets or sets the extension data setter. + Writes the end constructor. - + - Gets or sets the extension data getter. + Writes the property name of a name/value pair on a JSON object. + The name of the property. - + - Contract details for a used by the . + Writes the property name of a name/value pair on a JSON object. + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. - + - Initializes a new instance of the class. + Writes the end of the current JSON object or array. - The underlying type for the contract. - + - Lookup and create an instance of the JsonConverter type described by the argument. + Writes the current token and its children. - The JsonConverter type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. + The to read the token from. - + - Create a factory function that can be used to create instances of a JsonConverter described by the - argument type. The returned function can then be used to either invoke the converter's default ctor, or any - parameterized constructors by way of an object array. + Writes the current token. + The to read the token from. + A flag indicating whether the current token's children should be written. - + - Get and set values for a using reflection. + Writes the token and its value. + The to write. + + The value to write. + A value is only required for tokens that have an associated value, e.g. the property name for . + A null value can be passed to the method for token's that don't have a value, e.g. . - + - Initializes a new instance of the class. + Writes the token. - The member info. + The to write. - + - Sets the value. + Writes the specified end token. - The target to set the value on. - The value to set on the target. + The end token to write. - + - Gets the value. + Writes indent characters. - The target to get the value from. - The value. - + - When applied to a method, specifies that the method is called when an error occurs serializing an object. + Writes the JSON value delimiter. - + - Helper method for generating a MetaObject which calls a - specific method on Dynamic that returns a result + Writes an indent space. - + - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. + Writes a null value. - + - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. + Writes an undefined value. - + - Returns a Restrictions object which includes our current restrictions merged - with a restriction limiting our type + Writes raw JSON without changing the writer's state. + The raw JSON to write. - + - Represents a method that constructs an object. + Writes raw JSON where a value is expected and updates the writer's state. - The object type to create. + The raw JSON to write. - + - Specifies type name handling options for the . + Writes a value. + The value to write. - + - Do not include the .NET type name when serializing types. + Writes a value. + The value to write. - + - Include the .NET type name when serializing into a JSON object structure. + Writes a value. + The value to write. - + - Include the .NET type name when serializing into a JSON array structure. + Writes a value. + The value to write. - + - Always include the .NET type name when serializing. + Writes a value. + The value to write. - + - Include the .NET type name when the type of the object being serialized is not the same as its declared type. + Writes a value. + The value to write. - + - Converts the value to the specified type. If the value is unable to be converted, the - value is checked whether it assignable to the specified type. + Writes a value. - The value to convert. - The culture to use when converting. - The type to convert or cast the value to. - - The converted type. If conversion was unsuccessful, the initial value - is returned if assignable to the target type. - + The value to write. - + - Gets a dictionary of the names and values of an Enum type. + Writes a value. - + The value to write. - + - Gets a dictionary of the names and values of an Enum type. + Writes a value. - The enum type to get names and values for. - + The value to write. - + - Specifies the type of Json token. + Writes a value. + The value to write. - + - This is returned by the if a method has not been called. + Writes a value. + The value to write. - + - An object start token. + Writes a value. + The value to write. - + - An array start token. + Writes a value. + The value to write. - + - A constructor start token. + Writes a value. + The value to write. - + - An object property name. + Writes a value. + The value to write. - + - A comment. + Writes a value. + The value to write. - + - Raw JSON. + Writes a value. + The value to write. - + - An integer. + Writes a value. + The value to write. - + - A float. + Writes a value. + The value to write. - + - A string. + Writes a value. + The value to write. - + - A boolean. + Writes a value. + The value to write. - + - A null token. + Writes a value. + The value to write. - + - An undefined token. + Writes a value. + The value to write. - + - An object end token. + Writes a value. + The value to write. - + - An array end token. + Writes a value. + The value to write. - + - A constructor end token. + Writes a value. + The value to write. - + - A Date. + Writes a value. + The value to write. - + - Byte data. + Writes a value. + The value to write. - + - Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer. + Writes a value. + The value to write. - + - Determines whether the collection is null or empty. + Writes a value. - The collection. - - true if the collection is null or empty; otherwise, false. - + The value to write. - + - Adds the elements of the specified collection to the specified generic IList. + Writes a value. - The list to add to. - The collection of elements to add. + The value to write. - + - Returns the index of the first occurrence in a sequence by using a specified IEqualityComparer. + Writes a value. - The type of the elements of source. - A sequence in which to locate a value. - The object to locate in the sequence - An equality comparer to compare values. - The zero-based index of the first occurrence of value within the entire sequence, if found; otherwise, –1. + The value to write. - + - Gets the type of the typed collection's items. + Writes a value. - The type. - The type of the typed collection's items. + The value to write. - + - Gets the member's underlying type. + Writes a value. - The member. - The underlying type of the member. + The value to write. - + - Determines whether the member is an indexed property. + Writes a value. - The member. - - true if the member is an indexed property; otherwise, false. - + The value to write. - + - Determines whether the property is an indexed property. + Writes a [] value. - The property. - - true if the property is an indexed property; otherwise, false. - + The [] value to write. - + - Gets the member's value on the object. + Writes a value. - The member. - The target object. - The member's value on the object. + The value to write. - + - Sets the member's value on the target object. + Writes a value. + An error will raised if the value cannot be written as a single JSON token. - The member. - The target. - The value. + The value to write. - + - Determines whether the specified MemberInfo can be read. + Writes out a comment /*...*/ containing the specified text. - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - + Text to place inside the comment. - + - Determines whether the specified MemberInfo can be set. + Writes out the given white space. - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - + The string of white space characters. - + - Determines whether the string is all white space. Empty string will return false. + Releases unmanaged and - optionally - managed resources - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - + true to release both managed and unmanaged resources; false to release only unmanaged resources. - + - Nulls an empty string. + Sets the state of the JsonWriter, - The string. - Null if the string was null, otherwise the string unchanged. + The JsonToken being written. + The value being written. diff --git a/Dependencies/ReactiveExtensions/System.Reactive.Core.dll b/Dependencies/ReactiveExtensions/System.Reactive.Core.dll index 386a2545..73f8e34c 100644 Binary files a/Dependencies/ReactiveExtensions/System.Reactive.Core.dll and b/Dependencies/ReactiveExtensions/System.Reactive.Core.dll differ diff --git a/Dependencies/ReactiveExtensions/System.Reactive.Core.xml b/Dependencies/ReactiveExtensions/System.Reactive.Core.xml index a8f6901b..0e3a254f 100644 --- a/Dependencies/ReactiveExtensions/System.Reactive.Core.xml +++ b/Dependencies/ReactiveExtensions/System.Reactive.Core.xml @@ -69,6 +69,70 @@ IDisposable object used to unsubscribe from the observable sequence. or or or is null. + + + Subscribes an observer to an observable sequence, using a CancellationToken to support unsubscription. + + The type of the elements in the source sequence. + Observable sequence to subscribe to. + Observer to subscribe to the sequence. + CancellationToken that can be signaled to unsubscribe from the source sequence. + or is null. + + + + Subscribes to the observable sequence without specifying any handlers, using a CancellationToken to support unsubscription. + This method can be used to evaluate the observable sequence for its side-effects only. + + The type of the elements in the source sequence. + Observable sequence to subscribe to. + CancellationToken that can be signaled to unsubscribe from the source sequence. + is null. + + + + Subscribes an element handler to an observable sequence, using a CancellationToken to support unsubscription. + + The type of the elements in the source sequence. + Observable sequence to subscribe to. + Action to invoke for each element in the observable sequence. + CancellationToken that can be signaled to unsubscribe from the source sequence. + or is null. + + + + Subscribes an element handler and an exception handler to an observable sequence, using a CancellationToken to support unsubscription. + + The type of the elements in the source sequence. + Observable sequence to subscribe to. + Action to invoke for each element in the observable sequence. + Action to invoke upon exceptional termination of the observable sequence. + CancellationToken that can be signaled to unsubscribe from the source sequence. + or or is null. + + + + Subscribes an element handler and a completion handler to an observable sequence, using a CancellationToken to support unsubscription. + + The type of the elements in the source sequence. + Observable sequence to subscribe to. + Action to invoke for each element in the observable sequence. + Action to invoke upon graceful termination of the observable sequence. + CancellationToken that can be signaled to unsubscribe from the source sequence. + or or is null. + + + + Subscribes an element handler, an exception handler, and a completion handler to an observable sequence, using a CancellationToken to support unsubscription. + + The type of the elements in the source sequence. + Observable sequence to subscribe to. + Action to invoke for each element in the observable sequence. + Action to invoke upon exceptional termination of the observable sequence. + Action to invoke upon graceful termination of the observable sequence. + CancellationToken that can be signaled to unsubscribe from the source sequence. + or or or is null. + Subscribes to the specified source, re-routing synchronous exceptions during invocation of the Subscribe method to the observer's OnError channel. @@ -865,6 +929,11 @@ operating system (cf. GetSystemTimeAdjustment). + + + Longest interval supported by . + + Enqueues absolute time scheduled work in the timer queue or the short term work list. @@ -1330,6 +1399,12 @@ Type of the resulting sequence's elements. + + + Interface with variance annotation; allows for better type checking when detecting capabilities in SubscribeSafe. + + Type of the resulting sequence's elements. + Publicly visible Subscribe method. diff --git a/Dependencies/ReactiveExtensions/System.Reactive.Interfaces.dll b/Dependencies/ReactiveExtensions/System.Reactive.Interfaces.dll index 57cba601..faa9e03f 100644 Binary files a/Dependencies/ReactiveExtensions/System.Reactive.Interfaces.dll and b/Dependencies/ReactiveExtensions/System.Reactive.Interfaces.dll differ diff --git a/Dependencies/ReactiveExtensions/System.Reactive.Linq.dll b/Dependencies/ReactiveExtensions/System.Reactive.Linq.dll index cc10683b..b30fe407 100644 Binary files a/Dependencies/ReactiveExtensions/System.Reactive.Linq.dll and b/Dependencies/ReactiveExtensions/System.Reactive.Linq.dll differ diff --git a/Dependencies/ReactiveExtensions/System.Reactive.Linq.xml b/Dependencies/ReactiveExtensions/System.Reactive.Linq.xml index 07b2dd4d..0f30e0ba 100644 --- a/Dependencies/ReactiveExtensions/System.Reactive.Linq.xml +++ b/Dependencies/ReactiveExtensions/System.Reactive.Linq.xml @@ -6327,8 +6327,10 @@ - Switches between the inner observable sequences such that the resulting sequence always produces elements from the most recently received inner observable sequence. - Each time a new inner observable sequence is received, the previous inner observable sequence is unsubscribed from. + Transforms an observable sequence of observable sequences into an observable sequence + producing values only from the most recent observable sequence. + Each time a new inner observable sequence is received, unsubscribe from the + previous inner observable sequence. The type of the elements in the source sequences. Observable sequence of inner observable sequences. @@ -6337,7 +6339,8 @@ - Switches between the tasks such that the resulting sequence always produces results from the most recently received task. + Transforms an observable sequence of tasks into an observable sequence + producing values only from the most recent observable sequence. Each time a new task is received, the previous task's result is ignored. The type of the results produced by the source tasks. @@ -7098,6 +7101,16 @@ The source sequence prepended with the specified values. or is null. + + + Prepends a sequence of values to an observable sequence. + + The type of the elements in the source sequence. + Source sequence to prepend values to. + Values to prepend to the specified sequence. + The source sequence prepended with the specified values. + or is null. + Prepends a sequence of values to an observable sequence. @@ -7109,6 +7122,17 @@ The source sequence prepended with the specified values. or or is null. + + + Prepends a sequence of values to an observable sequence. + + The type of the elements in the source sequence. + Source sequence to prepend values to. + Scheduler to emit the prepended values on. + Values to prepend to the specified sequence. + The source sequence prepended with the specified values. + or or is null. + Returns a specified number of contiguous elements from the end of an observable sequence. @@ -7302,6 +7326,64 @@ A sequence of observable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. or or or is null. + + + Groups the elements of an observable sequence with the specified initial capacity according to a specified key selector function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + An observable sequence whose elements to group. + A function to extract the key for each element. + The initial number of elements that the underlying dictionary can contain. + A sequence of observable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or is null. + is less than 0. + + + + Groups the elements of an observable sequence with the specified initial capacity according to a specified key selector function and comparer. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + An observable sequence whose elements to group. + A function to extract the key for each element. + The initial number of elements that the underlying dictionary can contain. + An equality comparer to compare keys with. + A sequence of observable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or is null. + is less than 0. + + + + Groups the elements of an observable sequence with the specified initial capacity and selects the resulting elements by using a specified function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of the elements within the groups computed for each element in the source sequence. + An observable sequence whose elements to group. + A function to extract the key for each element. + A function to map each source element to an element in an observable group. + The initial number of elements that the underlying dictionary can contain. + A sequence of observable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or is null. + is less than 0. + + + + Groups the elements of an observable sequence with the specified initial capacity according to a specified key selector function and comparer and selects the resulting elements by using a specified function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of the elements within the groups computed for each element in the source sequence. + An observable sequence whose elements to group. + A function to extract the key for each element. + A function to map each source element to an element in an observable group. + The initial number of elements that the underlying dictionary can contain. + An equality comparer to compare keys with. + A sequence of observable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or or is null. + is less than 0. + Groups the elements of an observable sequence according to a specified key selector function and comparer and selects the resulting elements by using a specified function. @@ -7380,6 +7462,92 @@ or or is null. + + + Groups the elements of an observable sequence with the specified initial capacity according to a specified key selector function and comparer and selects the resulting elements by using a specified function. + A duration selector function is used to control the lifetime of groups. When a group expires, it receives an OnCompleted notification. When a new element with the same + key value as a reclaimed group occurs, the group will be reborn with a new lifetime request. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of the elements within the groups computed for each element in the source sequence. + The type of the elements in the duration sequences obtained for each group to denote its lifetime. + An observable sequence whose elements to group. + A function to extract the key for each element. + A function to map each source element to an element in an observable group. + A function to signal the expiration of a group. + The initial number of elements that the underlying dictionary can contain. + An equality comparer to compare keys with. + + A sequence of observable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + If a group's lifetime expires, a new group with the same key value can be created once an element with such a key value is encountered. + + or or or or is null. + is less than 0. + + + + Groups the elements of an observable sequence with the specified initial capacity according to a specified key selector function and selects the resulting elements by using a specified function. + A duration selector function is used to control the lifetime of groups. When a group expires, it receives an OnCompleted notification. When a new element with the same + key value as a reclaimed group occurs, the group will be reborn with a new lifetime request. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of the elements within the groups computed for each element in the source sequence. + The type of the elements in the duration sequences obtained for each group to denote its lifetime. + An observable sequence whose elements to group. + A function to extract the key for each element. + A function to map each source element to an element in an observable group. + A function to signal the expiration of a group. + The initial number of elements that the underlying dictionary can contain. + + A sequence of observable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + If a group's lifetime expires, a new group with the same key value can be created once an element with such a key value is encoutered. + + or or or is null. + is less than 0. + + + + Groups the elements of an observable sequence with the specified initial capacity according to a specified key selector function and comparer. + A duration selector function is used to control the lifetime of groups. When a group expires, it receives an OnCompleted notification. When a new element with the same + key value as a reclaimed group occurs, the group will be reborn with a new lifetime request. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of the elements in the duration sequences obtained for each group to denote its lifetime. + An observable sequence whose elements to group. + A function to extract the key for each element. + A function to signal the expiration of a group. + The initial number of elements that the underlying dictionary can contain. + An equality comparer to compare keys with. + + A sequence of observable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + If a group's lifetime expires, a new group with the same key value can be created once an element with such a key value is encoutered. + + or or or is null. + is less than 0. + + + + Groups the elements of an observable sequence with the specified initial capacity according to a specified key selector function. + A duration selector function is used to control the lifetime of groups. When a group expires, it receives an OnCompleted notification. When a new element with the same + key value as a reclaimed group occurs, the group will be reborn with a new lifetime request. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of the elements in the duration sequences obtained for each group to denote its lifetime. + An observable sequence whose elements to group. + A function to extract the key for each element. + A function to signal the expiration of a group. + The initial number of elements that the underlying dictionary can contain. + + A sequence of observable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + If a group's lifetime expires, a new group with the same key value can be created once an element with such a key value is encoutered. + + or or is null. + is less than 0. + Correlates the elements of two sequences based on overlapping durations, and groups the results. @@ -7467,6 +7635,17 @@ An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence. or is null. + + + Projects each element of an observable sequence to an observable sequence by incorporating the element's index and merges the resulting observable sequences into one observable sequence. + + The type of the elements in the source sequence. + The type of the elements in the projected inner sequences and the elements in the merged result sequence. + An observable sequence of elements to project. + A transform function to apply to each element; the second parameter of the function represents the index of the source element. + An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence. + or is null. + Projects each element of an observable sequence to a task and merges all of the task results into one observable sequence. @@ -7479,6 +7658,18 @@ This overload supports composition of observable sequences and tasks, without requiring manual conversion of the tasks to observable sequences using . or is null. + + + Projects each element of an observable sequence to a task by incorporating the element's index and merges all of the task results into one observable sequence. + + The type of the elements in the source sequence. + The type of the result produced by the projected tasks and the elements in the merged result sequence. + An observable sequence of elements to project. + A transform function to apply to each element; the second parameter of the function represents the index of the source element. + An observable sequence whose elements are the result of the tasks executed for each element of the input sequence. + This overload supports composition of observable sequences and tasks, without requiring manual conversion of the tasks to observable sequences using . + or is null. + Projects each element of an observable sequence to a task with cancellation support and merges all of the task results into one observable sequence. @@ -7491,6 +7682,18 @@ This overload supports composition of observable sequences and tasks, without requiring manual conversion of the tasks to observable sequences using . or is null. + + + Projects each element of an observable sequence to a task by incorporating the element's index with cancellation support and merges all of the task results into one observable sequence. + + The type of the elements in the source sequence. + The type of the result produced by the projected tasks and the elements in the merged result sequence. + An observable sequence of elements to project. + A transform function to apply to each element; the second parameter of the function represents the index of the source element. + An observable sequence whose elements are the result of the tasks executed for each element of the input sequence. + This overload supports composition of observable sequences and tasks, without requiring manual conversion of the tasks to observable sequences using . + or is null. + Projects each element of an observable sequence to an observable sequence, invokes the result selector for the source element and each of the corresponding inner sequence's elements, and merges the results into one observable sequence. @@ -7504,6 +7707,19 @@ An observable sequence whose elements are the result of invoking the one-to-many transform function collectionSelector on each element of the input sequence and then mapping each of those sequence elements and their corresponding source element to a result element. or or is null. + + + Projects each element of an observable sequence to an observable sequence by incorporating the element's index, invokes the result selector for the source element and each of the corresponding inner sequence's elements, and merges the results into one observable sequence. + + The type of the elements in the source sequence. + The type of the elements in the projected intermediate sequences. + The type of the elements in the result sequence, obtained by using the selector to combine source sequence elements with their corresponding intermediate sequence elements. + An observable sequence of elements to project. + A transform function to apply to each element; the second parameter of the function represents the index of the source element. + A transform function to apply to each element of the intermediate sequence; the second parameter of the function represents the index of the source element and the fourth parameter represents the index of the intermediate element. + An observable sequence whose elements are the result of invoking the one-to-many transform function collectionSelector on each element of the input sequence and then mapping each of those sequence elements and their corresponding source element to a result element. + or or is null. + Projects each element of an observable sequence to a task, invokes the result selector for the source element and the task result, and merges the results into one observable sequence. @@ -7518,6 +7734,20 @@ or or is null. This overload supports using LINQ query comprehension syntax in C# and Visual Basic to compose observable sequences and tasks, without requiring manual conversion of the tasks to observable sequences using . + + + Projects each element of an observable sequence to a task by incorporating the element's index, invokes the result selector for the source element and the task result, and merges the results into one observable sequence. + + The type of the elements in the source sequence. + The type of the results produced by the projected intermediate tasks. + The type of the elements in the result sequence, obtained by using the selector to combine source sequence elements with their corresponding intermediate task results. + An observable sequence of elements to project. + A transform function to apply to each element; the second parameter of the function represents the index of the source element. + A transform function to apply to each element of the intermediate sequence; the second parameter of the function represents the index of the source element. + An observable sequence whose elements are the result of obtaining a task for each element of the input sequence and then mapping the task's result and its corresponding source element to a result element. + or or is null. + This overload supports using LINQ query comprehension syntax in C# and Visual Basic to compose observable sequences and tasks, without requiring manual conversion of the tasks to observable sequences using . + Projects each element of an observable sequence to a task with cancellation support, invokes the result selector for the source element and the task result, and merges the results into one observable sequence. @@ -7532,6 +7762,20 @@ or or is null. This overload supports using LINQ query comprehension syntax in C# and Visual Basic to compose observable sequences and tasks, without requiring manual conversion of the tasks to observable sequences using . + + + Projects each element of an observable sequence to a task by incorporating the element's index with cancellation support, invokes the result selector for the source element and the task result, and merges the results into one observable sequence. + + The type of the elements in the source sequence. + The type of the results produced by the projected intermediate tasks. + The type of the elements in the result sequence, obtained by using the selector to combine source sequence elements with their corresponding intermediate task results. + An observable sequence of elements to project. + A transform function to apply to each element; the second parameter of the function represents the index of the source element. + A transform function to apply to each element of the intermediate sequence; the second parameter of the function represents the index of the source element. + An observable sequence whose elements are the result of obtaining a task for each element of the input sequence and then mapping the task's result and its corresponding source element to a result element. + or or is null. + This overload supports using LINQ query comprehension syntax in C# and Visual Basic to compose observable sequences and tasks, without requiring manual conversion of the tasks to observable sequences using . + Projects each notification of an observable sequence to an observable sequence and merges the resulting observable sequences into one observable sequence. @@ -7545,6 +7789,19 @@ An observable sequence whose elements are the result of invoking the one-to-many transform function corresponding to each notification in the input sequence. or or or is null. + + + Projects each notification of an observable sequence to an observable sequence by incorporating the element's index and merges the resulting observable sequences into one observable sequence. + + The type of the elements in the source sequence. + The type of the elements in the projected inner sequences and the elements in the merged result sequence. + An observable sequence of notifications to project. + A transform function to apply to each element; the second parameter of the function represents the index of the source element. + A transform function to apply when an error occurs in the source sequence. + A transform function to apply when the end of the source sequence is reached. + An observable sequence whose elements are the result of invoking the one-to-many transform function corresponding to each notification in the input sequence. + or or or is null. + Projects each element of an observable sequence to an enumerable sequence and concatenates the resulting enumerable sequences into one observable sequence. @@ -7557,6 +7814,18 @@ or is null. The projected sequences are enumerated synchonously within the OnNext call of the source sequence. In order to do a concurrent, non-blocking merge, change the selector to return an observable sequence obtained using the conversion. + + + Projects each element of an observable sequence to an enumerable sequence by incorporating the element's index and concatenates the resulting enumerable sequences into one observable sequence. + + The type of the elements in the source sequence. + The type of the elements in the projected inner enumerable sequences and the elements in the merged result sequence. + An observable sequence of elements to project. + A transform function to apply to each element; the second parameter of the function represents the index of the source element. + An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence. + or is null. + The projected sequences are enumerated synchonously within the OnNext call of the source sequence. In order to do a concurrent, non-blocking merge, change the selector to return an observable sequence obtained using the conversion. + Projects each element of an observable sequence to an enumerable sequence, invokes the result selector for the source element and each of the corresponding inner sequence's elements, and merges the results into one observable sequence. @@ -7571,6 +7840,20 @@ or or is null. The projected sequences are enumerated synchonously within the OnNext call of the source sequence. In order to do a concurrent, non-blocking merge, change the selector to return an observable sequence obtained using the conversion. + + + Projects each element of an observable sequence to an enumerable sequence by incorporating the element's index, invokes the result selector for the source element and each of the corresponding inner sequence's elements, and merges the results into one observable sequence. + + The type of the elements in the source sequence. + The type of the elements in the projected intermediate enumerable sequences. + The type of the elements in the result sequence, obtained by using the selector to combine source sequence elements with their corresponding intermediate sequence elements. + An observable sequence of elements to project. + A transform function to apply to each element; the second parameter of the function represents the index of the source element. + A transform function to apply to each element of the intermediate sequence; the second parameter of the function represents the index of the source element and the fourth parameter represents the index of the intermediate element. + An observable sequence whose elements are the result of invoking the one-to-many transform function collectionSelector on each element of the input sequence and then mapping each of those sequence elements and their corresponding source element to a result element. + or or is null. + The projected sequences are enumerated synchonously within the OnNext call of the source sequence. In order to do a concurrent, non-blocking merge, change the selector to return an observable sequence obtained using the conversion. + Bypasses a specified number of elements in an observable sequence and then returns the remaining elements. @@ -9401,6 +9684,11 @@ The last element of the subject. Throws an InvalidOperationException if no element was received. The source sequence is empty. + + + Indicates whether the subject has observers subscribed to it. + + Gets whether the AsyncSubject has completed. @@ -9450,6 +9738,27 @@ Unsubscribe all observers and release resources. + + + Gets the current value or throws an exception. + + The initial value passed to the constructor until is called; after which, the last value passed to . + + is frozen after is called. + After is called, always throws the specified exception. + An exception is always thrown after is called. + + Reading is a thread-safe operation, though there's a potential race condition when or are being invoked concurrently. + In some cases, it may be necessary for a caller to use external synchronization to avoid race conditions. + + + Dispose was called. + + + + Indicates whether the subject has observers subscribed to it. + + Represents an object that is both an observable sequence as well as an observer. @@ -9493,6 +9802,11 @@ Releases all resources used by the current instance of the class and unsubscribes all observers. + + + Indicates whether the subject has observers subscribed to it. + + Abstract base class for join patterns. @@ -10090,6 +10404,11 @@ Releases all resources used by the current instance of the class and unsubscribe all observers. + + + Indicates whether the subject has observers subscribed to it. + + The System.Reactive.Threading.Tasks namespace contains helpers for the conversion between tasks and observable sequences. @@ -10291,6 +10610,20 @@ Gets the timestamp. + + + A helper class with a factory method for creating Timestamped<T> instances. + + + + + Creates an instance of a Timestamped<T>. This is syntactic sugar that uses type inference + to avoid specifying a type in a constructor call, which is very useful when using anonymous types. + + The value to be annotated with a timestamp. + Timestamp associated with the value. + Creates a new timestamped value. + A strongly-typed resource class, for looking up localized strings, etc. diff --git a/csharp/Core/Revenj.Extensibility.Interface/IObjectFactoryBuilder.cs b/csharp/Core/Revenj.Extensibility.Interface/IObjectFactoryBuilder.cs index 629d3c89..84f65e10 100644 --- a/csharp/Core/Revenj.Extensibility.Interface/IObjectFactoryBuilder.cs +++ b/csharp/Core/Revenj.Extensibility.Interface/IObjectFactoryBuilder.cs @@ -224,6 +224,12 @@ public static void RegisterType( builder.Add(new FactoryBuilderType { type = type, Scope = scope, AsType = asType, IsGeneric = isGeneric }); } + /// + /// Register specified type to the container. Default scope is transient + /// + /// service type + /// container builder + /// resolution scope public static void RegisterType( this IObjectFactoryBuilder builder, InstanceScope scope = InstanceScope.Transient) @@ -232,6 +238,13 @@ public static void RegisterType( builder.Add(new FactoryBuilderType { type = typeof(TService), Scope = scope, IsGeneric = false }); } + /// + /// Register specified type to the container as custom service. Default scope is transient + /// + /// service implementation + /// service type + /// container builder + /// resolution scope public static void RegisterType( this IObjectFactoryBuilder builder, InstanceScope scope = InstanceScope.Transient) @@ -241,6 +254,14 @@ public static void RegisterType( builder.Add(new FactoryBuilderType { type = typeof(TService), Scope = scope, AsType = new[] { typeof(TAs) }, IsGeneric = false }); } + /// + /// Register specified type to the container as custom services. Default scope is transient + /// + /// service implementation + /// service type + /// additional service type + /// container builder + /// resolution scope public static void RegisterType( this IObjectFactoryBuilder builder, InstanceScope scope = InstanceScope.Transient) @@ -311,7 +332,13 @@ public static void RegisterInstance(this IObjectFactory factory, T instance) ofb.Add(new FactoryBuilderInstance { instance = instance, AsType = typeof(T) }); factory.Register(ofb); } - + /// + /// Register instance to the container builder. + /// Registered instance will be available in nested scopes too. + /// + /// service + /// container builder + /// provided instance public static void RegisterSingleton(this IObjectFactoryBuilder builder, T instance) { Contract.Requires(builder != null); @@ -352,7 +379,7 @@ public static void RegisterFunc(this IObjectFactory factory, Func /// Register factory to the container with specified scope. - /// Service will be resolved from the factory using contexed scope. + /// Service will be resolved from the factory using context scope. /// /// service type /// current scope @@ -367,7 +394,14 @@ public static void RegisterFunc(this IObjectFactory factory, Func func(f), AsType = new[] { typeof(T) }, Scope = scope }); factory.Register(ofb); } - + /// + /// Register factory to the container builder with specified scope. Default scope is Transient. + /// Service will be resolved from the factory using context scope. + /// + /// service type + /// container builder + /// factory to service + /// factory scope public static void RegisterFunc(this IObjectFactoryBuilder builder, Func func, InstanceScope scope = InstanceScope.Transient) { Contract.Requires(builder != null); @@ -375,6 +409,16 @@ public static void RegisterFunc(this IObjectFactoryBuilder builder, Func func(f), AsType = new[] { typeof(T) }, Scope = scope }); } + /// + /// Register factory to the container builder with specified scope. Default scope is Transient. + /// Service will be resolved from the factory using context scope. + /// + /// implementation type + /// as service + /// as alternative service + /// container builder + /// factory to service + /// factory scope public static void RegisterFunc(this IObjectFactoryBuilder builder, Func func, InstanceScope scope = InstanceScope.Transient) where T : TAs1, TAs2 { diff --git a/csharp/Core/Revenj.Extensibility.Interface/ISystemState.cs b/csharp/Core/Revenj.Extensibility.Interface/ISystemState.cs index 1dc690ed..8427046b 100644 --- a/csharp/Core/Revenj.Extensibility.Interface/ISystemState.cs +++ b/csharp/Core/Revenj.Extensibility.Interface/ISystemState.cs @@ -26,7 +26,6 @@ public interface ISystemState /// /// Notify system about an system event /// - /// event type /// event data void Notify(SystemEvent value); } diff --git a/csharp/Core/Revenj.Extensibility.Interface/Properties/AssemblyInfo.cs b/csharp/Core/Revenj.Extensibility.Interface/Properties/AssemblyInfo.cs index 2c8243c0..96a3f785 100644 --- a/csharp/Core/Revenj.Extensibility.Interface/Properties/AssemblyInfo.cs +++ b/csharp/Core/Revenj.Extensibility.Interface/Properties/AssemblyInfo.cs @@ -10,7 +10,7 @@ [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("DSL Platform")] [assembly: AssemblyProduct("Revenj infrastructure components")] -[assembly: AssemblyCopyright("Copyright © DSL Platform 2015")] +[assembly: AssemblyCopyright("Copyright © DSL Platform 2016")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] @@ -32,7 +32,7 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.3.0.0")] -[assembly: AssemblyFileVersion("1.3.0.0")] +[assembly: AssemblyVersion("1.3.1.0")] +[assembly: AssemblyFileVersion("1.3.1.0")] [assembly: CLSCompliant(true)] diff --git a/csharp/Core/Revenj.Security.Interface/IPermissionManager.cs b/csharp/Core/Revenj.Security.Interface/IPermissionManager.cs index 4c7a4ef9..787feb6d 100644 --- a/csharp/Core/Revenj.Security.Interface/IPermissionManager.cs +++ b/csharp/Core/Revenj.Security.Interface/IPermissionManager.cs @@ -104,12 +104,28 @@ public static T[] ApplyFilters(this IPermissionManager manager, T[] data) return manager.ApplyFilters(Thread.CurrentPrincipal, data); } - + /// + /// Specify filter which will be applied when user principal is in specified role. + /// Users which are not in specified role will not have this filter applied to them. + /// + /// object type + /// permission service + /// filtering expression + /// for which role filter applies + /// un-register instance. If called registration will be removed public static IDisposable RegisterForRole(this IPermissionManager manager, Expression> filter, string role) { return manager.RegisterFilter(filter, role, false); } - + /// + /// Specify filter which will be applied when user principal is not in specified role. + /// Users which are not in specified role will not have this filter applied to them. + /// + /// object type + /// permission service + /// filtering expression + /// for which role filter applies + /// un-register instance. If called registration will be removed public static IDisposable RegisterWhenNotInRole(this IPermissionManager manager, Expression> filter, string role) { return manager.RegisterFilter(filter, role, false); diff --git a/csharp/Domain/Revenj.DomainPatterns.Interface/DataContext.cs b/csharp/Domain/Revenj.DomainPatterns.Interface/DataContext.cs index 64fd575f..d65fb866 100644 --- a/csharp/Domain/Revenj.DomainPatterns.Interface/DataContext.cs +++ b/csharp/Domain/Revenj.DomainPatterns.Interface/DataContext.cs @@ -180,6 +180,7 @@ public static bool Exists(this IDataContext context) where T : IDataSource /// Data will be sent immediately to the backing store. /// /// aggregate type + /// data context /// root instance public static void Create(this IDataContext context, T root) where T : IAggregateRoot { diff --git a/csharp/Domain/Revenj.DomainPatterns.Interface/Reporting.cs b/csharp/Domain/Revenj.DomainPatterns.Interface/Reporting.cs index 12168ea9..78c45620 100644 --- a/csharp/Domain/Revenj.DomainPatterns.Interface/Reporting.cs +++ b/csharp/Domain/Revenj.DomainPatterns.Interface/Reporting.cs @@ -216,7 +216,6 @@ public OlapCubeQueryBuilder Offset(int offset) /// Load query data by running analysis on subset of data. /// Specification predicate is used to filter data. /// - /// specification type /// predicate filter /// aggregated information public DataTable Analyze(ISpecification specification) diff --git a/csharp/Domain/Revenj.DomainPatterns.Interface/ServiceLocator.cs b/csharp/Domain/Revenj.DomainPatterns.Interface/ServiceLocator.cs index a5582621..cee6c5f0 100644 --- a/csharp/Domain/Revenj.DomainPatterns.Interface/ServiceLocator.cs +++ b/csharp/Domain/Revenj.DomainPatterns.Interface/ServiceLocator.cs @@ -12,7 +12,7 @@ public static class ServiceProviderHelper /// Resolve service using provided type. /// /// service type - /// service locator + /// service locator /// resolved service public static T Resolve(this IServiceProvider provider) { @@ -29,7 +29,7 @@ Use GetService API to avoid this exception and get null value instead. /// Resolve service using provided type and cast it to appropriate result. /// /// result type - /// service locator + /// service locator /// service type /// casted resolved service public static T Resolve(this IServiceProvider provider, Type type) diff --git a/csharp/Server/Revenj.Processing.Interface/IProcessingEngine.cs b/csharp/Server/Revenj.Processing.Interface/IProcessingEngine.cs index b212197e..22bfecec 100644 --- a/csharp/Server/Revenj.Processing.Interface/IProcessingEngine.cs +++ b/csharp/Server/Revenj.Processing.Interface/IProcessingEngine.cs @@ -23,9 +23,22 @@ public interface IProcessingEngine /// aggregated execution result IProcessingResult Execute(IServerCommandDescription[] commands, IPrincipal principal); } - + /// + /// Utility class for processing engine + /// public static class ProcessingEngineHelper { + /// + /// Execute API with commands through params arguments. Thread bounded principal will be passed. + /// Command arguments are defined with input format type. + /// Result is expected in specified output format type. + /// Commands are executed in a single transaction. + /// + /// command argument type + /// executed result type + /// processing engine + /// commands description + /// aggregated execution result public static IProcessingResult Execute( this IProcessingEngine engine, params IServerCommandDescription[] commands) diff --git a/csharp/SharedAssemblyInfo.cs b/csharp/SharedAssemblyInfo.cs index a1629ac2..d341bc4c 100644 --- a/csharp/SharedAssemblyInfo.cs +++ b/csharp/SharedAssemblyInfo.cs @@ -7,6 +7,6 @@ [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: ComVisible(false)] -[assembly: AssemblyVersion("1.3.0.0")] -[assembly: AssemblyFileVersion("1.3.0.0")] +[assembly: AssemblyVersion("1.3.1.0")] +[assembly: AssemblyFileVersion("1.3.1.0")] [assembly: CLSCompliant(true)] diff --git a/java/pom.xml b/java/pom.xml index 65e33325..b152c5ce 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -9,7 +9,7 @@ DSL Platform compatible backend (https://dsl-platform.com) https://github.com/ngs-doo/revenj pom - 0.9.6 + 0.9.7 revenj-core diff --git a/java/revenj-core/pom.xml b/java/revenj-core/pom.xml index 4c82d9f5..453e480d 100644 --- a/java/revenj-core/pom.xml +++ b/java/revenj-core/pom.xml @@ -40,7 +40,7 @@ com.dslplatform dsl-json-java8 - 0.9.9 + 1.0.0 junit diff --git a/tutorials/examples/SpringBoot.zip b/tutorials/examples/SpringBoot.zip index 3aa629db..9c9b5670 100644 Binary files a/tutorials/examples/SpringBoot.zip and b/tutorials/examples/SpringBoot.zip differ diff --git a/tutorials/revenj-tutorial-spring-boot.md b/tutorials/revenj-tutorial-spring-boot.md index f73e515d..dbe8b090 100644 --- a/tutorials/revenj-tutorial-spring-boot.md +++ b/tutorials/revenj-tutorial-spring-boot.md @@ -58,12 +58,12 @@ After we are done, `pom.xml` should look like: org.revenj revenj-spring - 0.9.4 + 0.9.7 org.revenj revenj-servlet - 0.9.4 + 0.9.7 @@ -71,7 +71,7 @@ After we are done, `pom.xml` should look like: com.dslplatform dsl-platform-maven-plugin - 0.5 + 0.6 generate-sources