-Improved large JArray performance

-Improved JTokenReader performance
This commit is contained in:
James Newton-King
2016-03-28 14:14:07 +13:00
parent 029e36e7e4
commit 3a412e5ab2
10 changed files with 117 additions and 43 deletions
+1 -1
View File
@@ -1883,7 +1883,7 @@ namespace Newtonsoft.Json.Linq
/// <returns>An <see cref="JsonReader"/> that can be used to read this token and its descendants.</returns>
public JsonReader CreateReader()
{
return new JTokenReader(this, Path);
return new JTokenReader(this);
}
internal static JToken FromObjectInternal(object o, JsonSerializer jsonSerializer)