diff options
author | James Newton-King <james@newtonking.com> | 2012-03-07 13:08:06 +0400 |
---|---|---|
committer | James Newton-King <james@newtonking.com> | 2012-03-07 13:08:06 +0400 |
commit | c7f52087690ea8e54e52366f1be2506cb313e45e (patch) | |
tree | 6df396f58fabda9d29bf071888184abc9556222a /Src/Newtonsoft.Json/Linq/JObject.cs | |
parent | f8a13d7aa3bdcf9b42e253962b377c1b989cf2a3 (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.cs | 4 |
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)
|