Class ReadOnlyJsonConverter<T>
Converts an object or value from JSON.
Inheritance
System.Object
System.Text.Json.Serialization.JsonConverter
System.Text.Json.Serialization.JsonConverter<T>
Namespace: Umbraco.Cms.Infrastructure.Serialization
Assembly: Umbraco.Infrastructure.dll
Syntax
public abstract class ReadOnlyJsonConverter<T> : JsonConverter<T>
Type Parameters
| Name | Description |
|---|---|
| T | The type of object or value handled by the converter. |
Methods
View SourceWrite(Utf8JsonWriter, T, JsonSerializerOptions)
Declaration
public sealed override void Write(Utf8JsonWriter writer, T value, JsonSerializerOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Text.Json.Utf8JsonWriter | writer | |
| T | value | |
| System.Text.Json.JsonSerializerOptions | options |