Updating Json library

--HG--
branch : 1.x
This commit is contained in:
Sebastien Ros
2013-04-09 16:02:39 -07:00
parent fbf4570575
commit 0d523aef7a
6 changed files with 381 additions and 37 deletions

View File

@@ -131,6 +131,11 @@
Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
</summary>
</member>
<member name="P:Newtonsoft.Json.JsonReader.FloatParseHandling">
<summary>
Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
</summary>
</member>
<member name="P:Newtonsoft.Json.JsonReader.MaxDepth">
<summary>
Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a <see cref="T:Newtonsoft.Json.JsonReaderException"/>.
@@ -342,7 +347,7 @@
</member>
<member name="T:Newtonsoft.Json.Bson.BsonWriter">
<summary>
Represents a writer that provides a fast, non-cached, forward-only way of generating Json data.
Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
</summary>
</member>
<member name="T:Newtonsoft.Json.JsonWriter">
@@ -398,20 +403,34 @@
</member>
<member name="M:Newtonsoft.Json.JsonWriter.WritePropertyName(System.String)">
<summary>
Writes the property name of a name/value pair on a Json object.
Writes the property name of a name/value pair on a JSON object.
</summary>
<param name="name">The name of the property.</param>
</member>
<member name="M:Newtonsoft.Json.JsonWriter.WritePropertyName(System.String,System.Boolean)">
<summary>
Writes the property name of a name/value pair on a JSON object.
</summary>
<param name="name">The name of the property.</param>
<param name="escape">A flag to indicate whether the text should be escaped when it is written as a JSON property name.</param>
</member>
<member name="M:Newtonsoft.Json.JsonWriter.WriteEnd">
<summary>
Writes the end of the current Json object or array.
</summary>
</member>
<member name="M:Newtonsoft.Json.JsonWriter.WriteToken(Newtonsoft.Json.JsonReader)">
<summary>
Writes the current <see cref="T:Newtonsoft.Json.JsonReader"/> token and its children.
</summary>
<param name="reader">The <see cref="T:Newtonsoft.Json.JsonReader"/> to read the token from.</param>
</member>
<member name="M:Newtonsoft.Json.JsonWriter.WriteToken(Newtonsoft.Json.JsonReader,System.Boolean)">
<summary>
Writes the current <see cref="T:Newtonsoft.Json.JsonReader"/> token.
</summary>
<param name="reader">The <see cref="T:Newtonsoft.Json.JsonReader"/> to read the token from.</param>
<param name="writeChildren">A flag indicating whether the current token's children should be written.</param>
</member>
<member name="M:Newtonsoft.Json.JsonWriter.WriteEnd(Newtonsoft.Json.JsonToken)">
<summary>
@@ -678,6 +697,18 @@
</summary>
<param name="value">The <see cref="T:System.Uri"/> value to write.</param>
</member>
<member name="M:Newtonsoft.Json.JsonWriter.WriteValue(System.Numerics.BigInteger)">
<summary>
Writes a <see cref="T:System.Numerics.BigInteger"/> value.
</summary>
<param name="value">The <see cref="T:System.Numerics.BigInteger"/> value to write.</param>
</member>
<member name="M:Newtonsoft.Json.JsonWriter.WriteValue(System.Nullable{System.Numerics.BigInteger})">
<summary>
Writes a <see cref="T:System.Nullable`1"/> value.
</summary>
<param name="value">The <see cref="T:System.Nullable`1"/> value to write.</param>
</member>
<member name="M:Newtonsoft.Json.JsonWriter.WriteValue(System.Object)">
<summary>
Writes a <see cref="T:System.Object"/> value.
@@ -743,6 +774,23 @@
Get or set how strings are escaped when writing JSON text.
</summary>
</member>
<member name="P:Newtonsoft.Json.JsonWriter.FloatFormatHandling">
<summary>
Get or set how special floating point numbers, e.g. <see cref="F:System.Double.NaN"/>,
<see cref="F:System.Double.PositiveInfinity"/> and <see cref="F:System.Double.NegativeInfinity"/>,
are written to JSON text.
</summary>
</member>
<member name="P:Newtonsoft.Json.JsonWriter.DateFormatString">
<summary>
Get or set how <see cref="T:System.DateTime"/> and <see cref="T:System.DateTimeOffset"/> values are formatting when writing JSON text.
</summary>
</member>
<member name="P:Newtonsoft.Json.JsonWriter.Culture">
<summary>
Gets or sets the culture used when writing JSON. Defaults to <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>.
</summary>
</member>
<member name="M:Newtonsoft.Json.Bson.BsonWriter.#ctor(System.IO.Stream)">
<summary>
Initializes a new instance of the <see cref="T:Newtonsoft.Json.Bson.BsonWriter"/> class.
@@ -941,6 +989,12 @@
</summary>
<param name="value">The <see cref="T:System.Uri"/> value to write.</param>
</member>
<member name="M:Newtonsoft.Json.Bson.BsonWriter.WriteValue(System.Numerics.BigInteger)">
<summary>
Writes a <see cref="T:System.Numerics.BigInteger"/> value.
</summary>
<param name="value">The <see cref="T:System.Numerics.BigInteger"/> value to write.</param>
</member>
<member name="M:Newtonsoft.Json.Bson.BsonWriter.WriteObjectId(System.Byte[])">
<summary>
Writes a <see cref="T:Byte[]"/> value that represents a BSON object id.
@@ -1377,13 +1431,6 @@
<param name="serializer">The calling serializer.</param>
<returns>The object value.</returns>
</member>
<member name="M:Newtonsoft.Json.Converters.StringEnumConverter.GetEnumNameMap(System.Type)">
<summary>
A cached representation of the Enum string representation to respect per Enum field name.
</summary>
<param name="t">The type of the Enum.</param>
<returns>A map of enum field name to either the field name, or the configured enum member name (<see cref="T:System.Runtime.Serialization.EnumMemberAttribute"/>).</returns>
</member>
<member name="M:Newtonsoft.Json.Converters.StringEnumConverter.CanConvert(System.Type)">
<summary>
Determines whether this instance can convert the specified object type.
@@ -1446,6 +1493,43 @@
<c>true</c> if this instance can convert the specified object type; otherwise, <c>false</c>.
</returns>
</member>
<member name="T:Newtonsoft.Json.FloatFormatHandling">
<summary>
Specifies float format handling options when writing special floating point numbers, e.g. <see cref="F:System.Double.NaN"/>,
<see cref="F:System.Double.PositiveInfinity"/> and <see cref="F:System.Double.NegativeInfinity"/> with <see cref="T:Newtonsoft.Json.JsonWriter"/>.
</summary>
</member>
<member name="F:Newtonsoft.Json.FloatFormatHandling.String">
<summary>
Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity".
</summary>
</member>
<member name="F:Newtonsoft.Json.FloatFormatHandling.Symbol">
<summary>
Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity.
Note that this will produce non-valid JSON.
</summary>
</member>
<member name="F:Newtonsoft.Json.FloatFormatHandling.DefaultValue">
<summary>
Write special floating point values as the property's default value in JSON, e.g. 0.0 for a <see cref="T:System.Double"/> property, null for a <see cref="T:System.Nullable`1"/> property.
</summary>
</member>
<member name="T:Newtonsoft.Json.FloatParseHandling">
<summary>
Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
</summary>
</member>
<member name="F:Newtonsoft.Json.FloatParseHandling.Double">
<summary>
Floating point numbers are parsed to <see cref="F:Newtonsoft.Json.FloatParseHandling.Double"/>.
</summary>
</member>
<member name="F:Newtonsoft.Json.FloatParseHandling.Decimal">
<summary>
Floating point numbers are parsed to <see cref="F:Newtonsoft.Json.FloatParseHandling.Decimal"/>.
</summary>
</member>
<member name="T:Newtonsoft.Json.JsonDictionaryAttribute">
<summary>
Instructs the <see cref="T:Newtonsoft.Json.JsonSerializer"/> how to serialize the collection.
@@ -1723,6 +1807,36 @@
</summary>
<value>The converter.</value>
</member>
<member name="P:Newtonsoft.Json.Serialization.JsonContract.OnDeserializedCallbacks">
<summary>
Gets or sets all methods called immediately after deserialization of the object.
</summary>
<value>The methods called immediately after deserialization of the object.</value>
</member>
<member name="P:Newtonsoft.Json.Serialization.JsonContract.OnDeserializingCallbacks">
<summary>
Gets or sets all methods called during deserialization of the object.
</summary>
<value>The methods called during deserialization of the object.</value>
</member>
<member name="P:Newtonsoft.Json.Serialization.JsonContract.OnSerializedCallbacks">
<summary>
Gets or sets all methods called after serialization of the object graph.
</summary>
<value>The methods called after serialization of the object graph.</value>
</member>
<member name="P:Newtonsoft.Json.Serialization.JsonContract.OnSerializingCallbacks">
<summary>
Gets or sets all methods called before serialization of the object.
</summary>
<value>The methods called before serialization of the object.</value>
</member>
<member name="P:Newtonsoft.Json.Serialization.JsonContract.OnErrorCallbacks">
<summary>
Gets or sets all method called when an error is thrown during the serialization of the object.
</summary>
<value>The methods called when an error is thrown during the serialization of the object.</value>
</member>
<member name="P:Newtonsoft.Json.Serialization.JsonContract.OnDeserialized">
<summary>
Gets or sets the method called immediately after deserialization of the object.
@@ -1747,6 +1861,12 @@
</summary>
<value>The method called before serialization of the object.</value>
</member>
<member name="P:Newtonsoft.Json.Serialization.JsonContract.OnError">
<summary>
Gets or sets the method called when an error is thrown during the serialization of the object.
</summary>
<value>The method called when an error is thrown during the serialization of the object.</value>
</member>
<member name="P:Newtonsoft.Json.Serialization.JsonContract.DefaultCreator">
<summary>
Gets or sets the default creator method used to create the object.
@@ -1759,12 +1879,6 @@
</summary>
<value><c>true</c> if the default object creator is non-public; otherwise, <c>false</c>.</value>
</member>
<member name="P:Newtonsoft.Json.Serialization.JsonContract.OnError">
<summary>
Gets or sets the method called when an error is thrown during the serialization of the object.
</summary>
<value>The method called when an error is thrown during the serialization of the object.</value>
</member>
<member name="M:Newtonsoft.Json.Serialization.JsonContainerContract.#ctor(System.Type)">
<summary>
Initializes a new instance of the <see cref="T:Newtonsoft.Json.Serialization.JsonContainerContract"/> class.
@@ -2255,6 +2369,20 @@
<param name="value">The value.</param>
<returns>The result of the conversion.</returns>
</member>
<member name="M:Newtonsoft.Json.Linq.JToken.op_Explicit(Newtonsoft.Json.Linq.JToken)~System.Numerics.BigInteger">
<summary>
Performs an explicit conversion from <see cref="T:Newtonsoft.Json.Linq.JToken"/> to <see cref="T:System.Numerics.BigInteger"/>.
</summary>
<param name="value">The value.</param>
<returns>The result of the conversion.</returns>
</member>
<member name="M:Newtonsoft.Json.Linq.JToken.op_Explicit(Newtonsoft.Json.Linq.JToken)~System.Nullable{System.Numerics.BigInteger}">
<summary>
Performs an explicit conversion from <see cref="T:Newtonsoft.Json.Linq.JToken"/> to <see cref="T:System.Nullable`1"/>.
</summary>
<param name="value">The value.</param>
<returns>The result of the conversion.</returns>
</member>
<member name="M:Newtonsoft.Json.Linq.JToken.op_Implicit(System.Boolean)~Newtonsoft.Json.Linq.JToken">
<summary>
Performs an implicit conversion from <see cref="T:System.Boolean"/> to <see cref="T:Newtonsoft.Json.Linq.JToken"/>.
@@ -2395,6 +2523,13 @@
<param name="value">The value to create a <see cref="T:Newtonsoft.Json.Linq.JValue"/> from.</param>
<returns>The <see cref="T:Newtonsoft.Json.Linq.JValue"/> initialized with the specified value.</returns>
</member>
<member name="M:Newtonsoft.Json.Linq.JToken.op_Implicit(System.Nullable{System.Numerics.BigInteger})~Newtonsoft.Json.Linq.JToken">
<summary>
Performs an implicit conversion from <see cref="T:System.Nullable`1"/> to <see cref="T:Newtonsoft.Json.Linq.JToken"/>.
</summary>
<param name="value">The value to create a <see cref="T:Newtonsoft.Json.Linq.JValue"/> from.</param>
<returns>The <see cref="T:Newtonsoft.Json.Linq.JValue"/> initialized with the specified value.</returns>
</member>
<member name="M:Newtonsoft.Json.Linq.JToken.op_Implicit(System.Double)~Newtonsoft.Json.Linq.JToken">
<summary>
Performs an implicit conversion from <see cref="T:System.Double"/> to <see cref="T:Newtonsoft.Json.Linq.JToken"/>.
@@ -2437,6 +2572,13 @@
<param name="value">The value to create a <see cref="T:Newtonsoft.Json.Linq.JValue"/> from.</param>
<returns>The <see cref="T:Newtonsoft.Json.Linq.JValue"/> initialized with the specified value.</returns>
</member>
<member name="M:Newtonsoft.Json.Linq.JToken.op_Implicit(System.Numerics.BigInteger)~Newtonsoft.Json.Linq.JToken">
<summary>
Performs an implicit conversion from <see cref="T:System.Numerics.BigInteger"/> to <see cref="T:Newtonsoft.Json.Linq.JToken"/>.
</summary>
<param name="value">The value to create a <see cref="T:Newtonsoft.Json.Linq.JValue"/> from.</param>
<returns>The <see cref="T:Newtonsoft.Json.Linq.JValue"/> initialized with the specified value.</returns>
</member>
<member name="M:Newtonsoft.Json.Linq.JToken.op_Implicit(System.Uri)~Newtonsoft.Json.Linq.JToken">
<summary>
Performs an implicit conversion from <see cref="T:System.Uri"/> to <see cref="T:Newtonsoft.Json.Linq.JToken"/>.
@@ -2645,6 +2787,11 @@
</summary>
<value>The <see cref="T:Newtonsoft.Json.Linq.JToken"/> that contains the previous sibling token.</value>
</member>
<member name="P:Newtonsoft.Json.Linq.JToken.Path">
<summary>
Gets the path of the JSON token.
</summary>
</member>
<member name="P:Newtonsoft.Json.Linq.JToken.Item(System.Object)">
<summary>
Gets the <see cref="T:Newtonsoft.Json.Linq.JToken"/> with the specified key.
@@ -3177,6 +3324,7 @@
<member name="T:Newtonsoft.Json.PreserveReferencesHandling">
<summary>
Specifies reference handling options for the <see cref="T:Newtonsoft.Json.JsonSerializer"/>.
Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable.
</summary>
<example>
<code lang="cs" source="..\Src\Newtonsoft.Json.Tests\Documentation\SerializationTests.cs" region="PreservingObjectReferencesOn" title="Preserve Object References"/>
@@ -3425,6 +3573,11 @@
</summary>
<value>The context.</value>
</member>
<member name="P:Newtonsoft.Json.JsonSerializerSettings.DateFormatString">
<summary>
Get or set how <see cref="T:System.DateTime"/> and <see cref="T:System.DateTimeOffset"/> values are formatting when writing JSON text.
</summary>
</member>
<member name="P:Newtonsoft.Json.JsonSerializerSettings.MaxDepth">
<summary>
Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a <see cref="T:Newtonsoft.Json.JsonReaderException"/>.
@@ -3450,6 +3603,23 @@
Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
</summary>
</member>
<member name="P:Newtonsoft.Json.JsonSerializerSettings.FloatFormatHandling">
<summary>
Get or set how special floating point numbers, e.g. <see cref="F:System.Double.NaN"/>,
<see cref="F:System.Double.PositiveInfinity"/> and <see cref="F:System.Double.NegativeInfinity"/>,
are written as JSON.
</summary>
</member>
<member name="P:Newtonsoft.Json.JsonSerializerSettings.FloatParseHandling">
<summary>
Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
</summary>
</member>
<member name="P:Newtonsoft.Json.JsonSerializerSettings.StringEscapeHandling">
<summary>
Get or set how strings are escaped when writing JSON text.
</summary>
</member>
<member name="P:Newtonsoft.Json.JsonSerializerSettings.Culture">
<summary>
Gets or sets the culture used when reading JSON. Defaults to <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>.
@@ -3528,7 +3698,7 @@
</member>
<member name="P:Newtonsoft.Json.JsonValidatingReader.Value">
<summary>
Gets the text value of the current Json token.
Gets the text value of the current JSON token.
</summary>
<value></value>
</member>
@@ -3551,13 +3721,13 @@
</member>
<member name="P:Newtonsoft.Json.JsonValidatingReader.TokenType">
<summary>
Gets the type of the current Json token.
Gets the type of the current JSON token.
</summary>
<value></value>
</member>
<member name="P:Newtonsoft.Json.JsonValidatingReader.ValueType">
<summary>
Gets the Common Language Runtime (CLR) type for the current Json token.
Gets the Common Language Runtime (CLR) type for the current JSON token.
</summary>
<value></value>
</member>
@@ -3999,6 +4169,13 @@
</summary>
<param name="name">The name of the property.</param>
</member>
<member name="M:Newtonsoft.Json.JsonTextWriter.WritePropertyName(System.String,System.Boolean)">
<summary>
Writes the property name of a name/value pair on a JSON object.
</summary>
<param name="name">The name of the property.</param>
<param name="escape">A flag to indicate whether the text should be escaped when it is written as a JSON property name.</param>
</member>
<member name="M:Newtonsoft.Json.JsonTextWriter.WriteIndent">
<summary>
Writes indent characters.
@@ -4066,12 +4243,24 @@
</summary>
<param name="value">The <see cref="T:System.Single"/> value to write.</param>
</member>
<member name="M:Newtonsoft.Json.JsonTextWriter.WriteValue(System.Nullable{System.Single})">
<summary>
Writes a <see cref="T:System.Nullable`1"/> value.
</summary>
<param name="value">The <see cref="T:System.Nullable`1"/> value to write.</param>
</member>
<member name="M:Newtonsoft.Json.JsonTextWriter.WriteValue(System.Double)">
<summary>
Writes a <see cref="T:System.Double"/> value.
</summary>
<param name="value">The <see cref="T:System.Double"/> value to write.</param>
</member>
<member name="M:Newtonsoft.Json.JsonTextWriter.WriteValue(System.Nullable{System.Double})">
<summary>
Writes a <see cref="T:System.Nullable`1"/> value.
</summary>
<param name="value">The <see cref="T:System.Nullable`1"/> value to write.</param>
</member>
<member name="M:Newtonsoft.Json.JsonTextWriter.WriteValue(System.Boolean)">
<summary>
Writes a <see cref="T:System.Boolean"/> value.
@@ -4150,6 +4339,12 @@
</summary>
<param name="value">The <see cref="T:System.Uri"/> value to write.</param>
</member>
<member name="M:Newtonsoft.Json.JsonTextWriter.WriteValue(System.Numerics.BigInteger)">
<summary>
Writes a <see cref="T:System.Numerics.BigInteger"/> value.
</summary>
<param name="value">The <see cref="T:System.Numerics.BigInteger"/> value to write.</param>
</member>
<member name="M:Newtonsoft.Json.JsonTextWriter.WriteComment(System.String)">
<summary>
Writes out a comment <code>/*...*/</code> containing the specified text.
@@ -4409,6 +4604,13 @@
<param name="value">The value to convert.</param>
<returns>A JSON string representation of the <see cref="T:System.Int64"/>.</returns>
</member>
<member name="M:Newtonsoft.Json.JsonConvert.ToString(System.Numerics.BigInteger)">
<summary>
Converts the <see cref="T:System.Numerics.BigInteger"/> to its JSON string representation.
</summary>
<param name="value">The value to convert.</param>
<returns>A JSON string representation of the <see cref="T:System.Numerics.BigInteger"/>.</returns>
</member>
<member name="M:Newtonsoft.Json.JsonConvert.ToString(System.UInt64)">
<summary>
Converts the <see cref="T:System.UInt64"/> to its JSON string representation.
@@ -4551,6 +4753,23 @@
A JSON string representation of the object.
</returns>
</member>
<member name="M:Newtonsoft.Json.JsonConvert.SerializeObject(System.Object,System.Type,Newtonsoft.Json.Formatting,Newtonsoft.Json.JsonSerializerSettings)">
<summary>
Serializes the specified object to a JSON string using a collection of <see cref="T:Newtonsoft.Json.JsonConverter"/>.
</summary>
<param name="value">The object to serialize.</param>
<param name="formatting">Indicates how the output is formatted.</param>
<param name="settings">The <see cref="T:Newtonsoft.Json.JsonSerializerSettings"/> used to serialize the object.
If this is null, default serialization settings will be is used.</param>
<param name="type">
The type of the value being serialized.
This parameter is used when <see cref="T:Newtonsoft.Json.TypeNameHandling"/> is Auto to write out the type name if the type of the value does not match.
Specifing the type is optional.
</param>
<returns>
A JSON string representation of the object.
</returns>
</member>
<member name="M:Newtonsoft.Json.JsonConvert.SerializeObjectAsync(System.Object)">
<summary>
Asynchronously serializes the specified object to a JSON string using a collection of <see cref="T:Newtonsoft.Json.JsonConverter"/>.
@@ -4629,6 +4848,23 @@
<param name="anonymousTypeObject">The anonymous type object.</param>
<returns>The deserialized anonymous type from the JSON string.</returns>
</member>
<member name="M:Newtonsoft.Json.JsonConvert.DeserializeAnonymousType``1(System.String,``0,Newtonsoft.Json.JsonSerializerSettings)">
<summary>
Deserializes the JSON to the given anonymous type.
</summary>
<typeparam name="T">
The anonymous type to deserialize to. This can't be specified
traditionally and must be infered from the anonymous type passed
as a parameter.
</typeparam>
<param name="value">The JSON to deserialize.</param>
<param name="anonymousTypeObject">The anonymous type object.</param>
<param name="settings">
The <see cref="T:Newtonsoft.Json.JsonSerializerSettings"/> used to deserialize the object.
If this is null, default serialization settings will be is used.
</param>
<returns>The deserialized anonymous type from the JSON string.</returns>
</member>
<member name="M:Newtonsoft.Json.JsonConvert.DeserializeObject``1(System.String,Newtonsoft.Json.JsonConverter[])">
<summary>
Deserializes the JSON to the specified .NET type.
@@ -4960,6 +5196,32 @@
<param name="textWriter">The <see cref="T:System.IO.TextWriter"/> used to write the Json structure.</param>
<param name="value">The <see cref="T:System.Object"/> to serialize.</param>
</member>
<member name="M:Newtonsoft.Json.JsonSerializer.Serialize(Newtonsoft.Json.JsonWriter,System.Object,System.Type)">
<summary>
Serializes the specified <see cref="T:System.Object"/> and writes the Json structure
to a <c>Stream</c> using the specified <see cref="T:System.IO.TextWriter"/>.
</summary>
<param name="jsonWriter">The <see cref="T:Newtonsoft.Json.JsonWriter"/> used to write the Json structure.</param>
<param name="value">The <see cref="T:System.Object"/> to serialize.</param>
<param name="objectType">
The type of the value being serialized.
This parameter is used when <see cref="P:Newtonsoft.Json.JsonSerializer.TypeNameHandling"/> is Auto to write out the type name if the type of the value does not match.
Specifing the type is optional.
</param>
</member>
<member name="M:Newtonsoft.Json.JsonSerializer.Serialize(System.IO.TextWriter,System.Object,System.Type)">
<summary>
Serializes the specified <see cref="T:System.Object"/> and writes the Json structure
to a <c>Stream</c> using the specified <see cref="T:System.IO.TextWriter"/>.
</summary>
<param name="textWriter">The <see cref="T:System.IO.TextWriter"/> used to write the Json structure.</param>
<param name="value">The <see cref="T:System.Object"/> to serialize.</param>
<param name="objectType">
The type of the value being serialized.
This parameter is used when <see cref="P:Newtonsoft.Json.JsonSerializer.TypeNameHandling"/> is Auto to write out the type name if the type of the value does not match.
Specifing the type is optional.
</param>
</member>
<member name="M:Newtonsoft.Json.JsonSerializer.Serialize(Newtonsoft.Json.JsonWriter,System.Object)">
<summary>
Serializes the specified <see cref="T:System.Object"/> and writes the Json structure
@@ -5075,6 +5337,28 @@
Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
</summary>
</member>
<member name="P:Newtonsoft.Json.JsonSerializer.FloatParseHandling">
<summary>
Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
</summary>
</member>
<member name="P:Newtonsoft.Json.JsonSerializer.FloatFormatHandling">
<summary>
Get or set how special floating point numbers, e.g. <see cref="F:System.Double.NaN"/>,
<see cref="F:System.Double.PositiveInfinity"/> and <see cref="F:System.Double.NegativeInfinity"/>,
are written as JSON text.
</summary>
</member>
<member name="P:Newtonsoft.Json.JsonSerializer.StringEscapeHandling">
<summary>
Get or set how strings are escaped when writing JSON text.
</summary>
</member>
<member name="P:Newtonsoft.Json.JsonSerializer.DateFormatString">
<summary>
Get or set how <see cref="T:System.DateTime"/> and <see cref="T:System.DateTimeOffset"/> values are formatting when writing JSON text.
</summary>
</member>
<member name="P:Newtonsoft.Json.JsonSerializer.Culture">
<summary>
Gets or sets the culture used when reading JSON. Defaults to <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>.
@@ -5552,7 +5836,7 @@
Gets the <see cref="T:Newtonsoft.Json.Linq.JToken"/> with the specified property name.
</summary>
<param name="propertyName">Name of the property.</param>
<value>The <see cref="T:Newtonsoft.Json.Linq.JToken"/> with the specified property name.</value>
<returns>The <see cref="T:Newtonsoft.Json.Linq.JToken"/> with the specified property name.</returns>
</member>
<member name="M:Newtonsoft.Json.Linq.JObject.GetValue(System.String,System.StringComparison)">
<summary>
@@ -5562,7 +5846,7 @@
</summary>
<param name="propertyName">Name of the property.</param>
<param name="comparison">One of the enumeration values that specifies how the strings will be compared.</param>
<value>The <see cref="T:Newtonsoft.Json.Linq.JToken"/> with the specified property name.</value>
<returns>The <see cref="T:Newtonsoft.Json.Linq.JToken"/> with the specified property name.</returns>
</member>
<member name="M:Newtonsoft.Json.Linq.JObject.TryGetValue(System.String,System.StringComparison,Newtonsoft.Json.Linq.JToken@)">
<summary>
@@ -6167,6 +6451,12 @@
</summary>
<param name="value">The <see cref="T:System.Uri"/> value to write.</param>
</member>
<member name="M:Newtonsoft.Json.Linq.JTokenWriter.WriteValue(System.Numerics.BigInteger)">
<summary>
Writes a <see cref="T:System.Numerics.BigInteger"/> value.
</summary>
<param name="value">The <see cref="T:System.Numerics.BigInteger"/> value to write.</param>
</member>
<member name="P:Newtonsoft.Json.Linq.JTokenWriter.Token">
<summary>
Gets the token being writen.
@@ -6436,10 +6726,10 @@
</member>
<member name="M:Newtonsoft.Json.Schema.JsonSchemaResolver.GetSchema(System.String)">
<summary>
Gets a <see cref="T:Newtonsoft.Json.Schema.JsonSchema"/> for the specified id.
Gets a <see cref="T:Newtonsoft.Json.Schema.JsonSchema"/> for the specified reference.
</summary>
<param name="id">The id.</param>
<returns>A <see cref="T:Newtonsoft.Json.Schema.JsonSchema"/> for the specified id.</returns>
<param name="reference">The id.</param>
<returns>A <see cref="T:Newtonsoft.Json.Schema.JsonSchema"/> for the specified reference.</returns>
</member>
<member name="P:Newtonsoft.Json.Schema.JsonSchemaResolver.LoadedSchemas">
<summary>
@@ -6806,6 +7096,21 @@
</summary>
<value><c>true</c> if the collection type is a multidimensional array; otherwise, <c>false</c>.</value>
</member>
<member name="T:Newtonsoft.Json.Serialization.SerializationCallback">
<summary>
Handles <see cref="T:Newtonsoft.Json.JsonSerializer"/> serialization callback events.
</summary>
<param name="o">The object that raised the callback event.</param>
<param name="context">The streaming context.</param>
</member>
<member name="T:Newtonsoft.Json.Serialization.SerializationErrorCallback">
<summary>
Handles <see cref="T:Newtonsoft.Json.JsonSerializer"/> serialization error callback events.
</summary>
<param name="o">The object that raised the callback event.</param>
<param name="context">The streaming context.</param>
<param name="errorContext">The error context.</param>
</member>
<member name="T:Newtonsoft.Json.Serialization.JsonDictionaryContract">
<summary>
Contract details for a <see cref="T:System.Type"/> used by the <see cref="T:Newtonsoft.Json.JsonSerializer"/>.
@@ -7276,6 +7581,33 @@
</summary>
<value>The <see cref="T:Newtonsoft.Json.Schema.JsonSchema"/> of items.</value>
</member>
<member name="P:Newtonsoft.Json.Schema.JsonSchema.PositionalItemsValidation">
<summary>
Gets or sets a value indicating whether items in an array are validated using the <see cref="T:Newtonsoft.Json.Schema.JsonSchema"/> instance at their array position from <see cref="P:Newtonsoft.Json.Schema.JsonSchema.Items"/>.
</summary>
<value>
<c>true</c> if items are validated using their array position; otherwise, <c>false</c>.
</value>
</member>
<member name="P:Newtonsoft.Json.Schema.JsonSchema.AdditionalItems">
<summary>
Gets or sets the <see cref="T:Newtonsoft.Json.Schema.JsonSchema"/> of additional items.
</summary>
<value>The <see cref="T:Newtonsoft.Json.Schema.JsonSchema"/> of additional items.</value>
</member>
<member name="P:Newtonsoft.Json.Schema.JsonSchema.AllowAdditionalItems">
<summary>
Gets or sets a value indicating whether additional items are allowed.
</summary>
<value>
<c>true</c> if additional items are allowed; otherwise, <c>false</c>.
</value>
</member>
<member name="P:Newtonsoft.Json.Schema.JsonSchema.UniqueItems">
<summary>
Gets or sets whether the array items must be unique.
</summary>
</member>
<member name="P:Newtonsoft.Json.Schema.JsonSchema.Properties">
<summary>
Gets or sets the <see cref="T:Newtonsoft.Json.Schema.JsonSchema"/> of properties.
@@ -7308,24 +7640,12 @@
</summary>
<value>The required property if this property is present.</value>
</member>
<member name="P:Newtonsoft.Json.Schema.JsonSchema.Identity">
<summary>
Gets or sets the identity.
</summary>
<value>The identity.</value>
</member>
<member name="P:Newtonsoft.Json.Schema.JsonSchema.Enum">
<summary>
Gets or sets the a collection of valid enum values allowed.
</summary>
<value>A collection of valid enum values allowed.</value>
</member>
<member name="P:Newtonsoft.Json.Schema.JsonSchema.Options">
<summary>
Gets or sets a collection of options.
</summary>
<value>A collection of options.</value>
</member>
<member name="P:Newtonsoft.Json.Schema.JsonSchema.Disallow">
<summary>
Gets or sets disallowed types.
@@ -7340,9 +7660,9 @@
</member>
<member name="P:Newtonsoft.Json.Schema.JsonSchema.Extends">
<summary>
Gets or sets the extend <see cref="T:Newtonsoft.Json.Schema.JsonSchema"/>.
Gets or sets the collection of <see cref="T:Newtonsoft.Json.Schema.JsonSchema"/> that this schema extends.
</summary>
<value>The extended <see cref="T:Newtonsoft.Json.Schema.JsonSchema"/>.</value>
<value>The collection of <see cref="T:Newtonsoft.Json.Schema.JsonSchema"/> that this schema extends.</value>
</member>
<member name="P:Newtonsoft.Json.Schema.JsonSchema.Format">
<summary>

View File

@@ -0,0 +1,18 @@
Copyright (c) 2007 James Newton-King
Permission is hereby granted, free of charge, to any person obtaining a copy of this
software and associated documentation files (the "Software"), to deal in the Software
without restriction, including without limitation the rights to use, copy, modify,
merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to the following
conditions:
The above copyright notice and this permission notice shall be included in all copies
or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.