ravendb/ravendb — pull request #396 by asgerhallas (2011-11-03 10:02:02+00:00)
Title: Update to json.net 4.0.3

As discussed briefly here http://groups.google.com/group/ravendb/browse_thread/thread/0891df3ae4743da8/a61979e9c6d1c25b?show_docid=a61979e9c6d1c25b there are some problems with version 4.0.2 of json.net and some issues with upgrading it to 4.0.3. I have made an update and fixed the issues.

Performance seems a little higher too (in my pretty uncontrolled environment):

json.net 4.0.2:
Starting Json performance test with 100 iterations...
Using Newtonsoft Json.NET containers:
Reading took 50197 ms
Cloning took 13391 ms
Using Raven.Json containers:
Reading took 28735 ms
Cloning took 16614 ms
Press any key to continue . . .

json.net 4.0.3:
Starting Json performance test with 100 iterations...
Using Newtonsoft Json.NET containers:
Reading took 40269 ms
Cloning took 26048 ms
Using Raven.Json containers:
Reading took 27173 ms
Cloning took 13502 ms
Press any key to continue . . .. . .