Skip to content

Latest commit

 

History

History
54 lines (27 loc) · 1.15 KB

File metadata and controls

54 lines (27 loc) · 1.15 KB

Differences

WIP

Additions

JsonDictionaryContract.OrderByKey

JsonDictionaryContract.ShouldSerializeItem

JsonArrayContract.ShouldSerializeItem

DateOnly and TimeOnly support

Serialized and deserialized as ISO strings with no converter required, on net6.0 and above. See Dates in JSON.

Migrating from Json.net

Nuget

Namespace

  • Remove using Newtonsoft.Json*
  • Add using Argon

XML

If using the Xml serialization features of Json.net:

  • Add Argon.Xml nuget.
  • Add using Argon.Xml
  • Add XmlNodeConverter to the JsonSerializerSettings.Converters.

Argon.DataSets

If using the DataSet serialization features of Json.net:

  • Add the Argon.DataSets nuget.
  • Call JsonSerializerSettings.AddDataSetConverters().

Argon.JsonPath

If using the JsonPath serialization features of Json.net: