Table of Contents

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 9 and .NET 8

Complements: System.Text.Json namespace 🔗

Extension Methods

Type Ext Methods
JsonConverter ⬇️ AddTransientFaultExceptionConverter, AddDateTimeConverter, AddStringEnumConverter, AddStringFlagsEnumConverter, AddExceptionDescriptorConverterOf{T}, AddExceptionConverter, AddDataPairConverter, AddFailureConverter, RemoveAllOf and RemoveAllOf{T}

Classes

DateTimeConverter

Provides a DateTime converter that can be configured like the Newtonsoft.JSON equivalent.

ExceptionConverter

Provides an Exception converter that can be configured like the Newtonsoft.JSON equivalent.

JsonConverterCollectionExtensions

Extension methods for the JsonConverter class.

StringEnumConverter

Converter to convert enums to and from strings.

StringFlagsEnumConverter

Converter to convert enums with FlagsAttribute to and from strings.

TransientFaultExceptionConverter

Converts a TransientFaultException to or from JSON.