Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/Newtonsoft.Json.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Newton-King <james@newtonking.com>2012-03-07 13:08:06 +0400
committerJames Newton-King <james@newtonking.com>2012-03-07 13:08:06 +0400
commitc7f52087690ea8e54e52366f1be2506cb313e45e (patch)
tree6df396f58fabda9d29bf071888184abc9556222a /Src/Newtonsoft.Json/Linq/JObject.cs
parentf8a13d7aa3bdcf9b42e253962b377c1b989cf2a3 (diff)
-Added async serialize/deserialize methods to JsonConvert
-Fixed performance issue when deserializing deeply nested JSON to LINQ to JSON objects
Diffstat (limited to 'Src/Newtonsoft.Json/Linq/JObject.cs')
-rw-r--r--Src/Newtonsoft.Json/Linq/JObject.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/Newtonsoft.Json/Linq/JObject.cs b/Src/Newtonsoft.Json/Linq/JObject.cs
index 0478d2c..13ca2fd 100644
--- a/Src/Newtonsoft.Json/Linq/JObject.cs
+++ b/Src/Newtonsoft.Json/Linq/JObject.cs
@@ -146,13 +146,13 @@ namespace Newtonsoft.Json.Linq
return (t != null && ContentsEqual(t));
}
- internal override void InsertItem(int index, JToken item)
+ internal override void InsertItem(int index, JToken item, bool skipParentCheck)
{
// don't add comments to JObject, no name to reference comment by
if (item != null && item.Type == JTokenType.Comment)
return;
- base.InsertItem(index, item);
+ base.InsertItem(index, item, skipParentCheck);
}
internal override void ValidateToken(JToken o, JToken existing)