Table of Contents

Namespace Cuemon.Extensions.Text.Json.Converters

Assembly: Cuemon.Extensions.Text.Json.dll

Register System.Text.Json converters for Cuemon-specific types like TransientFaultException, DataPair, ExceptionDescriptor, and string-based enum serialization. Use this namespace when you need JSON serialization support for Cuemon types. Start with AddStringEnumConverter for enum serialization or AddExceptionDescriptorConverterOf<T> for structured error serialization.

Availability: .NET 10 and .NET 9

Complements: System.Text.Json namespace 🔗

Extension Members

Type Ext Methods
ICollection ⬇️ AddTransientFaultExceptionConverter, AddDateTimeConverter, AddStringEnumConverter, AddStringFlagsEnumConverter, AddExceptionDescriptorConverterOf<T>, AddExceptionConverter, AddDataPairConverter, AddFailureConverter, RemoveAllOf, 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.