Releases
3.5.4
New feature - Added StringEnumConverter to convert enum values to and from their string name rather than number value
New feature - Added BinaryConverter which converts byte array's, Binary and SqlBinary values to and from base64 text.
New feature - Added NullValueHandling, DefaultValueHandling and ReferenceLoopHandling to JsonPropertyAttribute
New feature - Added MetadataTypeAttribute support when searching for attributes
New feature - JsonSerializer now looks for DataContractAttribute and DataMemberAttribute on a type
New feature - Now able to explicitly serialize private members when marked up with JsonPropertyAttribute or DataMemberAttribute
New feature - Added CustomCreationConverter. Used to customize creation of an object before the serializer populates values
New feature - Added Populate method to JsonSerializer. Pass existing object to serializer and have current object's values populated onto it
New feature - Added IsReference to JsonContainerAttribute and JsonPropertyAttribute
New feature - Added PreserveReferencesHandling to JsonSerializer
New feature - Added IReferenceResolver (replacing IMappingResolver) to JsonSerializer
New feature - JsonObjectAttribute will now force a collection class to be serialized as an object
New feature - Added JsonContract, JsonObjectContract, JsonArrayContract and JsonDictionaryContract
New feature - Added support for OnSerializing, OnSerialized, OnDeserializing, OnDeserialized callback methods
Change - Rename JsonTokenReader, JsonTokenWriter, JsonTokenType to JTokenReader, JTokenWriter, JTokenType
Change - DefaultDateTimeFormat on IsoDateTimeConverter no longer displays milliseconds zeros
Change - JObject now enumerates over KeyValuePair<string, JToken> rather than JToken
Change - Moved serialize stack used to check for reference loops from JsonWriter (yuck) to JsonSerializerWriter (yay)
Change - Renamed JsonMemberMapping to JsonProperty
Fix - JToken now successfully casts to a float or decimal value
Fix - Serializer now handles comments encountered in JSON while deserializing
Fix - Fixed (hopefully) cache threading issues
Fix - Uri objects are now correctly serizlized on Silverlight/Compact Framework
Fix - Whole decimals will now always be written with a decimal place
You can’t perform that action at this time.