-Changed DateTimeOffset JValue to return TypeCode.Object

-Incremented version to 8.0.1-beta1
This commit is contained in:
James Newton-King
2015-10-18 13:42:31 +13:00
parent 18e45e2b75
commit ab2906874f
4 changed files with 21 additions and 41 deletions
@@ -114,13 +114,21 @@ namespace Newtonsoft.Json.Tests.Linq
Stopwatch sw = new Stopwatch();
sw.Start();
int count = 0;
foreach (dynamic o in d)
{
if (count > 10)
{
break;
}
foreach (dynamic friend in o.friends)
{
UpdateValueCount(counts, friend.id);
UpdateValueCount(counts, ((string) friend.name).Split(' ')[0]);
}
count++;
}
Console.WriteLine("Time (secs): " + sw.Elapsed.TotalSeconds);