Json.NET v11.0.1 Release Notes

Release Date: 2018-02-17 // about 6 years ago
    • ๐Ÿ†• New feature - Added netstandard2.0 build
    • ๐Ÿ†• New feature - Added generic JsonConverter
    • ๐Ÿ†• New feature - Added UnixDateConverter for converting Unix timestaps
    • ๐Ÿ†• New feature - Added support for regex operator in JSON Paths
    • ๐Ÿ†• New feature - Added JsonObjectAttribute.ItemNullValueHandling
    • ๐Ÿ†• New feature - Added JsonObjectContract.ItemNullValueHandling
    • ๐Ÿ†• New feature - Improved performance when resolving serialization contracts by using ConcurrentDictionary
    • ๐Ÿ†• New feature - Improved performance of JToken.Path with a faster reverse
    • ๐Ÿ†• New feature - Improved performance of parsing Int32 JSON integer values
    • ๐Ÿ†• New feature - Improved performance of parsing and writing enum names
    • ๐Ÿ†• New feature - Added IgnoreIsSpecifiedMembers to DefaultContractResolver
    • ๐Ÿ†• New feature - Added IgnoreShouldSerializeMembers to DefaultContractResolver
    • ๐Ÿ†• New feature - Added support for reading multiple comma delimited values with JsonReader.SupportMultipleContent
    • ๐Ÿ†• New feature - Improved error message when an object is reused with PreserveReferencesHandling
    • ๐Ÿ†• New feature - Added IConvertible support to netstandard1.3
    • ๐Ÿ†• New feature - Added INotifyPropertyChanging support to netstandard1.3
    • ๐Ÿ†• New feature - Optimized internal buffering when writing very large strings
    • ๐Ÿ†• New feature - JObject.ContainsKey is now public
    • ๐Ÿ†• New feature - Improved the error message when serialized ByRef properties
    • ๐Ÿ†• New feature - Improved the error message when serializing FileInfo/DictionaryInfo without ISerializable
    • ๐Ÿ†• New feature - Improved the error message when failing conversion in JsonReader.ReadAsInt32 and JsonReader.ReadAsDecimal
    • ๐Ÿ†• New feature - Improved the error message when deserializing badly formatted regex strings
    • ๐Ÿ”„ Change - Types that implement ISerializable but don't have [SerializableAttribute] are not serialized using ISerializable
    • ๐Ÿ”„ Change - Changed JsonProperty.MemberConverter to obsolete
    • ๐Ÿ”„ Change - Changed camel casing logic for all caps words to not leave last character capitalized
    • ๐Ÿ”„ Change - Changed enum serialization in dictionary keys to use EnumMemberAttribute
    • ๐Ÿ›  Fix - Fixed converting default datetime in JSON to XML on netstandard1.3
    • ๐Ÿ›  Fix - Fixed deserializing ObservableCollection in .NET Core 2.0
    • ๐Ÿ›  Fix - Fixed incorrectly allowing static IsSpecified properties
    • ๐Ÿ›  Fix - Fixed not preserving trailing zeros when deserializing decimals
    • ๐Ÿ›  Fix - Fixed JValue.CompareTo with number and string values
    • ๐Ÿ›  Fix - Fixed not erroring when reading undefined for nullable long
    • ๐Ÿ›  Fix - Fixed serializing immutable collections when .NET 4.0 or previous Newtonsoft.Json assembly is GACed
    • ๐Ÿ›  Fix - Fixed writing null values by XmlNodeConverter and RegexConverter
    • ๐Ÿ›  Fix - Fixed deserializing with a TraceWriter when the reader is not at the start
    • ๐Ÿ›  Fix - Fixed TraceJsonWriter.WriteValue(object) writing value twice
    • ๐Ÿ›  Fix - Fixed deserializing with constructor and readonly collection property
    • ๐Ÿ›  Fix - Fixed error when writing unknown null value as JSON
    • ๐Ÿ›  Fix - Fixed merging null string values
    • ๐Ÿ›  Fix - Fixed missing CancellationToken usages in JsonTextWriter.WriteAsync
    • ๐Ÿ›  Fix - Fixed error with JsonSerializer.Populate and comments in JSON array
    • ๐Ÿ›  Fix - Fixed error handling when deserializing certain dictionary and lists
    • ๐Ÿ›  Fix - Fixed serializing collection that is nullable
    • ๐Ÿ›  Fix - Fixed JsonTextReader sync read in async method
    • ๐Ÿ›  Fix - Fixed JsonConverter not called when target type is list and token is a string
    • ๐Ÿ›  Fix - Fixed serializing a property that is defined in multiple interfaces
    • ๐Ÿ›  Fix - Fixed error when deserializing null value into ConcurrentDictionary
    • ๐Ÿ›  Fix - Fixed escaping special characters in generated JSON Paths
    • ๐Ÿ›  Fix - Fixed reading escaped special characters in JSON Paths
    • ๐Ÿ›  Fix - Fixed using extension data with dictionary that explicitly implements Add method
    • ๐Ÿ›  Fix - Fixed parsing enum name to exact casing value before falling back to case-insensitive value
    • ๐Ÿ›  Fix - Fixed DataContractAttribute not forcing object serialization of classes
    • ๐Ÿ›  Fix - Fixed bug when deserializing into existing non-IList collection
    • ๐Ÿ›  Fix - Fixed bug when deserializing into existing non-IDictionary collection
    • ๐Ÿ›  Fix - Fixed JsonReader.ReadAsInt32 with BigInteger values