This project has moved and is read-only. For the latest updates, please go here.

Json.NET 4.0 Release 2

Rating:        Based on 13 ratings
Reviewed:  10 reviews
Downloads: 48083
Change Set: 59924
Released: Apr 21, 2011
Updated: Apr 23, 2011 by JamesNK
Dev status: Stable Help Icon

Recommended Download

Application Json.NET 4.0 Release 2 (source + binary + documentation)
application, 4893K, uploaded Apr 23, 2011 - 48083 downloads

Release Notes

  • New feature - Added commonly used primitive value operations to dynamic JValue
  • New feature - Added IComparable to JValue
  • New feature - Added JsonConstructorAttribute to explicitly define which constructor to use during deserialization
  • New feature - Added IFormattable to JValue
  • New feature - Added Load and Parse helper methods to JToken
  • New feature - Added ExpandoObjectConverter that deserializes to primitive values rather than LINQ to JSON objects for ExpandObjects
  • New feature - Added EnumMemberAttribute support to StringEnumConverter
  • New feature - Added CloseInput/CloseOutput to JsonReader/JsonWriter to control whether the underlying stream is closed. Default to true
  • Change - JValue ToString now calls ToString on the internal value
  • Change - NuGet spec file includes client profiles
  • Change - BsonReader/BsonWriter close the underlying stream by default when closed
  • Change - CamelCasePropertyNamesContractResolver updates dictionary and dynamic property names
  • Fix – DefaultValueHandling no longer includes a property when the default value is the same value but a different type
  • Fix – Objects created with paramatized constructors fixed to not set properties that aren't in JSON
  • Fix – Fixed comments in JSON sometimes causing errors when deserializing
  • Fix – Error when reflecting over type that has multiple index properties inherited fixed
  • Fix – Error when reusing JsonSerializer with preserve references enabled fixed
  • Fix – Poor error message when dynamic type cannot be created during deserialization fixed
  • Fix – Error when setting a null value on a dynamic type during deserialization fixed
  • Fix – JsonTextReader.ReadAsDecimal not attempting to convert string values to decimal fixed
  • Fix – Duplicate type name within an assembly error fixed
  • Fix – Deserializing a DataTable property fixed
  • Fix – Code emit error when deserializing interfaces in certain situations fixed
  • Fix – Performance issues when deserializing with partial type names fixed
  • Fix – Deserializing some decimal values on classes with non-default constructors fixed

Reviews for this release

it is very useful to many good men
by lixu20100202 on Apr 30, 2014 at 3:26 AM
good,super powerful
by aobichen on Dec 18, 2012 at 7:26 AM
Where can I get the .net 2.0 Version? The .net 2.0 Version of May 2008 still has References to newer Frameworks...any suggestions? Thanks Fabian
by fabianbigler on Aug 19, 2011 at 8:11 AM
DateTime Column Bug When the first data is null, then after the data can not be inserted to datatable
by tiduszhang on Jun 23, 2011 at 7:38 AM
This fantastic project has saved me a LOT of time. The API has been well thought out and is easy enough to have something working within minutes of downloading. Thanks for spending your own time on this James, it's very much appreciated.
by jamesd77 on Jun 3, 2011 at 12:16 AM
I just wanted to say thank you so much for writing this. I've used this code every day for 18 months and it is absolutely top notch. Thanks a ton, James!
by andymerrick on May 21, 2011 at 3:03 AM
good,super powerful
by Forrestzhang on May 13, 2011 at 5:22 AM
Jame's Json.NET is fast, elegant, flexible and actively updated. If you are just getting started be sure to download the source code and look at the tests (in addition to the official documentation). If you still have questions try posting them on
by Frank235711 on May 6, 2011 at 3:47 AM
test it,first user
by ggggdiu on May 5, 2011 at 7:47 AM
Awesome library for Windows Phone 7 development, and widely acknowledged to be faster than the DataContractJsonSerializer that ships with Silverlight 3 for WP7. Plus @JamesNK is an incredibly responsive author who stays on top of his project in terms of releases and documentation.
by ashvs on Apr 23, 2011 at 6:06 PM