Namespace Cuemon.Extensions.Text.Json
Register custom JSON converters, configure naming policies, traverse JSON hierarchies, and configure JsonSerializerOptions without writing infrastructure code. Use this namespace when you need advanced System.Text.Json configuration beyond the defaults. Start with JsonConverterCollectionExtensions for registering custom converters, or ToHierarchy on Utf8JsonReader for JSON tree traversal.
Availability: .NET 10 and .NET 9
Complements: System.Text.Json namespace 🔗
Extension Members
| Type | Ext | Methods |
|---|---|---|
| JsonNamingPolicy | ⬇️ | DefaultOrConvertName |
| Utf8JsonReader | ⬇️ | ToHierarchy |
| JsonSerializerOptions | ⬇️ | SetPropertyName and Clone |
| Utf8JsonWriter | ⬇️ | WriteObject |
Classes
DynamicJsonConverter
Provides a factory based way to create and wrap an JsonConverter implementation.
JsonNamingPolicyExtensions
Extension methods for the JsonNamingPolicy class.
JsonSerializerOptionsExtensions
Extension methods for the JsonSerializerOptions class.
Utf8JsonWriterExtensions
Extension methods for the Utf8JsonWriter class.
Delegates
Utf8JsonReaderFunc<T>
Represents the Read method of JsonConverter<T>.
Utf8JsonWriterAction<T>
Represents the Write method of JsonConverter<T>.