Upgrading to Json.NET 6.0.4

This commit is contained in:
Sebastien Ros
2014-08-13 12:59:30 -07:00
parent 0a8685bab3
commit b7a3c1e77a
3 changed files with 89 additions and 19 deletions

View File

@@ -2198,7 +2198,7 @@
</summary>
<param name="value">The object to serialize.</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>
If this is null, default serialization settings will be used.</param>
<returns>
A JSON string representation of the object.
</returns>
@@ -2209,7 +2209,7 @@
</summary>
<param name="value">The object to serialize.</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>
If this is null, default serialization settings will be 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.
@@ -2226,7 +2226,7 @@
<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>
If this is null, default serialization settings will be used.</param>
<returns>
A JSON string representation of the object.
</returns>
@@ -2238,7 +2238,7 @@
<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>
If this is null, default serialization settings will be 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.
@@ -2277,7 +2277,7 @@
<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>
If this is null, default serialization settings will be used.</param>
<returns>
A task that represents the asynchronous serialize operation. The value of the <c>TResult</c> parameter contains a JSON string representation of the object.
</returns>
@@ -2287,7 +2287,7 @@
Deserializes the JSON to a .NET object.
</summary>
<param name="value">The JSON to deserialize.</param>
<returns>The deserialized object from the Json string.</returns>
<returns>The deserialized object from the JSON string.</returns>
</member>
<member name="M:Newtonsoft.Json.JsonConvert.DeserializeObject(System.String,Newtonsoft.Json.JsonSerializerSettings)">
<summary>
@@ -2296,7 +2296,7 @@
<param name="value">The JSON to deserialize.</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.
If this is null, default serialization settings will be used.
</param>
<returns>The deserialized object from the JSON string.</returns>
</member>
@@ -2306,7 +2306,7 @@
</summary>
<param name="value">The JSON to deserialize.</param>
<param name="type">The <see cref="T:System.Type"/> of object being deserialized.</param>
<returns>The deserialized object from the Json string.</returns>
<returns>The deserialized object from the JSON string.</returns>
</member>
<member name="M:Newtonsoft.Json.JsonConvert.DeserializeObject``1(System.String)">
<summary>
@@ -2314,7 +2314,7 @@
</summary>
<typeparam name="T">The type of the object to deserialize to.</typeparam>
<param name="value">The JSON to deserialize.</param>
<returns>The deserialized object from the Json string.</returns>
<returns>The deserialized object from the JSON string.</returns>
</member>
<member name="M:Newtonsoft.Json.JsonConvert.DeserializeAnonymousType``1(System.String,``0)">
<summary>
@@ -2342,7 +2342,7 @@
<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.
If this is null, default serialization settings will be used.
</param>
<returns>The deserialized anonymous type from the JSON string.</returns>
</member>
@@ -2363,7 +2363,7 @@
<param name="value">The object to deserialize.</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.
If this is null, default serialization settings will be used.
</param>
<returns>The deserialized object from the JSON string.</returns>
</member>
@@ -2384,7 +2384,7 @@
<param name="type">The type of the object to deserialize to.</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.
If this is null, default serialization settings will be used.
</param>
<returns>The deserialized object from the JSON string.</returns>
</member>
@@ -2408,7 +2408,7 @@
<param name="value">The JSON to deserialize.</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.
If this is null, default serialization settings will be used.
</param>
<returns>
A task that represents the asynchronous deserialize operation. The value of the <c>TResult</c> parameter contains the deserialized object from the JSON string.
@@ -2433,7 +2433,7 @@
<param name="type">The type of the object to deserialize to.</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.
If this is null, default serialization settings will be used.
</param>
<returns>
A task that represents the asynchronous deserialize operation. The value of the <c>TResult</c> parameter contains the deserialized object from the JSON string.
@@ -2454,7 +2454,7 @@
<param name="target">The target object to populate values onto.</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.
If this is null, default serialization settings will be used.
</param>
</member>
<member name="M:Newtonsoft.Json.JsonConvert.PopulateObjectAsync(System.String,System.Object,Newtonsoft.Json.JsonSerializerSettings)">
@@ -2465,7 +2465,7 @@
<param name="target">The target object to populate values onto.</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.
If this is null, default serialization settings will be used.
</param>
<returns>
A task that represents the asynchronous populate operation.
@@ -4986,6 +4986,19 @@
Removes the child nodes from this token.
</summary>
</member>
<member name="M:Newtonsoft.Json.Linq.JContainer.Merge(System.Object)">
<summary>
Merge the specified content into this <see cref="T:Newtonsoft.Json.Linq.JToken"/>.
</summary>
<param name="content">The content to be merged.</param>
</member>
<member name="M:Newtonsoft.Json.Linq.JContainer.Merge(System.Object,Newtonsoft.Json.Linq.JsonMergeSettings)">
<summary>
Merge the specified content into this <see cref="T:Newtonsoft.Json.Linq.JToken"/> using <see cref="T:Newtonsoft.Json.Linq.JsonMergeSettings"/>.
</summary>
<param name="content">The content to be merged.</param>
<param name="settings">The <see cref="T:Newtonsoft.Json.Linq.JsonMergeSettings"/> used to merge the content.</param>
</member>
<member name="E:Newtonsoft.Json.Linq.JContainer.ListChanged">
<summary>
Occurs when the list changes or an item in the list changes.
@@ -5410,11 +5423,11 @@
</member>
<member name="M:Newtonsoft.Json.Linq.JObject.FromObject(System.Object,Newtonsoft.Json.JsonSerializer)">
<summary>
Creates a <see cref="T:Newtonsoft.Json.Linq.JArray"/> from an object.
Creates a <see cref="T:Newtonsoft.Json.Linq.JObject"/> from an object.
</summary>
<param name="o">The object that will be used to create <see cref="T:Newtonsoft.Json.Linq.JArray"/>.</param>
<param name="o">The object that will be used to create <see cref="T:Newtonsoft.Json.Linq.JObject"/>.</param>
<param name="jsonSerializer">The <see cref="T:Newtonsoft.Json.JsonSerializer"/> that will be used to read the object.</param>
<returns>A <see cref="T:Newtonsoft.Json.Linq.JArray"/> with the values of the specified object</returns>
<returns>A <see cref="T:Newtonsoft.Json.Linq.JObject"/> with the values of the specified object</returns>
</member>
<member name="M:Newtonsoft.Json.Linq.JObject.WriteTo(Newtonsoft.Json.JsonWriter,Newtonsoft.Json.JsonConverter[])">
<summary>
@@ -5636,6 +5649,17 @@
</summary>
<value></value>
</member>
<member name="T:Newtonsoft.Json.Linq.JsonMergeSettings">
<summary>
Specifies the settings used when merging JSON.
</summary>
</member>
<member name="P:Newtonsoft.Json.Linq.JsonMergeSettings.MergeArrayHandling">
<summary>
Gets or sets the method used when merging JSON arrays.
</summary>
<value>The method used when merging JSON arrays.</value>
</member>
<member name="T:Newtonsoft.Json.Linq.JProperty">
<summary>
Represents a JSON property.
@@ -5902,6 +5926,18 @@
<param name="value">The value.</param>
<returns>A <see cref="T:Newtonsoft.Json.Linq.JValue"/> string with the given value.</returns>
</member>
<member name="M:Newtonsoft.Json.Linq.JValue.CreateNull">
<summary>
Creates a <see cref="T:Newtonsoft.Json.Linq.JValue"/> null value.
</summary>
<returns>A <see cref="T:Newtonsoft.Json.Linq.JValue"/> null value.</returns>
</member>
<member name="M:Newtonsoft.Json.Linq.JValue.CreateUndefined">
<summary>
Creates a <see cref="T:Newtonsoft.Json.Linq.JValue"/> null value.
</summary>
<returns>A <see cref="T:Newtonsoft.Json.Linq.JValue"/> null value.</returns>
</member>
<member name="M:Newtonsoft.Json.Linq.JValue.WriteTo(Newtonsoft.Json.JsonWriter,Newtonsoft.Json.JsonConverter[])">
<summary>
Writes this token to a <see cref="T:Newtonsoft.Json.JsonWriter"/>.
@@ -6431,6 +6467,23 @@
</summary>
<value>The token being writen.</value>
</member>
<member name="T:Newtonsoft.Json.Linq.MergeArrayHandling">
<summary>
Specifies how JSON arrays are merged together.
</summary>
</member>
<member name="F:Newtonsoft.Json.Linq.MergeArrayHandling.Concat">
<summary>Concatenate arrays.</summary>
</member>
<member name="F:Newtonsoft.Json.Linq.MergeArrayHandling.Union">
<summary>Union arrays, skipping items that already exist.</summary>
</member>
<member name="F:Newtonsoft.Json.Linq.MergeArrayHandling.Replace">
<summary>Replace all array items.</summary>
</member>
<member name="F:Newtonsoft.Json.Linq.MergeArrayHandling.Merge">
<summary>Merge array items together, matched by index.</summary>
</member>
<member name="T:Newtonsoft.Json.MemberSerialization">
<summary>
Specifies the member serialization options for the <see cref="T:Newtonsoft.Json.JsonSerializer"/>.
@@ -6470,6 +6523,11 @@
Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance.
</summary>
</member>
<member name="F:Newtonsoft.Json.MetadataPropertyHandling.Ignore">
<summary>
Do not try to read metadata properties.
</summary>
</member>
<member name="T:Newtonsoft.Json.MissingMemberHandling">
<summary>
Specifies missing member handling options for the <see cref="T:Newtonsoft.Json.JsonSerializer"/>.
@@ -7880,6 +7938,11 @@
Gets the constructor parameters required for any non-default constructor
</summary>
</member>
<member name="P:Newtonsoft.Json.Serialization.JsonObjectContract.CreatorParameters">
<summary>
Gets a collection of <see cref="T:Newtonsoft.Json.Serialization.JsonProperty"/> instances that define the parameters used with <see cref="P:Newtonsoft.Json.Serialization.JsonObjectContract.OverrideCreator"/>.
</summary>
</member>
<member name="P:Newtonsoft.Json.Serialization.JsonObjectContract.OverrideConstructor">
<summary>
Gets or sets the override constructor used to create the object.
@@ -7894,6 +7957,13 @@
</summary>
<value>The parametrized constructor.</value>
</member>
<member name="P:Newtonsoft.Json.Serialization.JsonObjectContract.OverrideCreator">
<summary>
Gets or sets the function used to create the object. When set this function will override <see cref="P:DefaultCreator"/>.
This function is called with a collection of arguments which are defined by the <see cref="P:Newtonsoft.Json.Serialization.JsonObjectContract.CreatorParameters"/> collection.
</summary>
<value>The function used to create the object.</value>
</member>
<member name="P:Newtonsoft.Json.Serialization.JsonObjectContract.ExtensionDataSetter">
<summary>
Gets or sets the extension data setter.