Releases
4.0.2
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
You can’t perform that action at this time.