WIP
Unions are serialized as their active case with no wrapper and no discriminator, matching System.Text.Json. No converter or configuration is required. See Unions and closed type hierarchies.
Writes and reads a short $type discriminator for C# closed type hierarchies, using the
descendants the compiler recorded, without needing TypeNameHandling or an ISerializationBinder.
See Unions and closed type hierarchies.
Serialized and deserialized as ISO strings with no converter required, on net6.0 and above. See Dates in JSON.
- Remove Newtonsoft.Json
- Add Argon
- Remove
using Newtonsoft.Json* - Add
using Argon
If using the Xml serialization features of Json.net:
- Add Argon.Xml nuget.
- Add
using Argon.Xml - Add
XmlNodeConverterto theJsonSerializerSettings.Converters.
If using the DataSet serialization features of Json.net:
- Add the Argon.DataSets nuget.
- Call
JsonSerializerSettings.AddDataSetConverters().
If using the JsonPath serialization features of Json.net:
- Add the Argon.JsonPath nuget.