-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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user