-Added async serialize/deserialize methods to JsonConvert

-Fixed performance issue when deserializing deeply nested JSON to LINQ to JSON objects
This commit is contained in:
James Newton-King
2012-03-07 22:08:06 +13:00
parent f8a13d7aa3
commit c7f5208769
12 changed files with 265 additions and 52 deletions
+2 -2
View File
@@ -167,7 +167,7 @@ namespace Newtonsoft.Json.Linq
throw new InvalidOperationException("The parent is missing.");
int index = _parent.IndexOfItem(this);
_parent.AddInternal(index + 1, content);
_parent.AddInternal(index + 1, content, false);
}
/// <summary>
@@ -180,7 +180,7 @@ namespace Newtonsoft.Json.Linq
throw new InvalidOperationException("The parent is missing.");
int index = _parent.IndexOfItem(this);
_parent.AddInternal(index, content);
_parent.AddInternal(index, content, false);
}
/// <summary>