Namespace Cuemon.Extensions.Text.Json.Converters
Assembly: Cuemon.Extensions.Text.Json.dll
The Cuemon.Extensions.Text.Json.Converters
namespace contains both types and extension methods that complements the System.Text.Json
namespace.
Availability: .NET 8, .NET 7 and .NET 6
Complements: System.Text.Json namespace 🔗
Extension Methods
Type | Ext | Methods |
---|---|---|
JsonConverter | ⬇️ | AddTransientFaultExceptionConverter , AddDateTimeConverter , AddStringEnumConverter , AddStringFlagsEnumConverter , AddExceptionDescriptorConverterOf{T} , AddExceptionConverter , AddDataPairConverter |
Classes
DateTimeConverter
Provides a System.DateTime converter that can be configured like the Newtonsoft.JSON equivalent.
ExceptionConverter
Provides an System.Exception converter that can be configured like the Newtonsoft.JSON equivalent.
JsonConverterCollectionExtensions
Extension methods for the System.Text.Json.Serialization.JsonConverter class.
StringEnumConverter
Converter to convert enums to and from strings.
StringFlagsEnumConverter
Converter to convert enums with System.FlagsAttribute to and from strings.
TransientFaultExceptionConverter
Converts a TransientFaultException to or from JSON.