Table of Contents

Namespace Cuemon.Extensions.Text.Json

Assembly: Cuemon.Extensions.Text.Json.dll

The Cuemon.Extensions.Text.Json namespace contains both types and extension methods that complements the System.Text.Json namespace by adding new ways of working with JSON; both in terms of serialization and parsing.

Availability: .NET 8, .NET 7 and .NET 6

Complements: System.Text.Json namespace 🔗

Extension Methods

Type Ext Methods
JsonNamingPolicy ⬇️ DefaultOrConvertName
Utf8JsonReader ⬇️ ToHierarchy
JsonSerializerOptions ⬇️ SetPropertyName
Utf8JsonWriter ⬇️ WriteObject

Classes

DynamicJsonConverter

Provides a factory based way to create and wrap an System.Text.Json.Serialization.JsonConverter implementation.

JsonNamingPolicyExtensions

Extension methods for the System.Text.Json.JsonNamingPolicy class.

JsonReaderExtensions

Extension methods for the System.Text.Json.Utf8JsonReader struct.

JsonSerializerOptionsExtensions

Extension methods for the System.Text.Json.JsonSerializerOptions class.

Utf8JsonWriterExtensions

Extension methods for the System.Text.Json.Utf8JsonWriter class.

Delegates

Utf8JsonReaderFunc<T>

Represents the Read method of System.Text.Json.Serialization.JsonConverter<T>.

Utf8JsonWriterAction<T>

Represents the Write method of System.Text.Json.Serialization.JsonConverter<T>.