Class WriteOnlyJsonConverter<T>
Converts an object or value to 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 WriteOnlyJsonConverter<T> : JsonConverter<T>
Type Parameters
| Name | Description |
|---|---|
| T | The type of object or value handled by the converter. |
Methods
View SourceRead(ref Utf8JsonReader, Type, JsonSerializerOptions)
Declaration
public sealed override T Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Text.Json.Utf8JsonReader | reader | |
| Type | typeToConvert | |
| System.Text.Json.JsonSerializerOptions | options |
Returns
| Type | Description |
|---|---|
| T |