Class ComplexPropertiesConverter. Implements the JsonConverter<T>
Object
Text.Json.Serialization.JsonConverter
Text.Json.Serialization.JsonConverter<T>
Text.Json.Serialization.JsonConverter<T>.CanConvert
Text.Json.Serialization.JsonConverter<T>.ReadAsPropertyName
Text.Json.Serialization.JsonConverter<T>.WriteAsPropertyName
Text.Json.Serialization.JsonConverter<T>.HandleNull
Text.Json.Serialization.JsonConverter<T>.Type
Namespace: Radzen
Assembly: Radzen.Blazor.dll
public class ComplexPropertiesConverter<T> : Text.Json.Serialization.JsonConverter<T>| Name | Description |
|---|---|
| T |
Initializes a new instance of the ComplexPropertiesConverter<T> class.
public ComplexPropertiesConverter<T>(IEnumerable<string> complexProperties)
| Type | Name | Description |
|---|---|---|
| IEnumerable<string> | complexProperties | The complex properties. |
Reads the specified reader.
public override T Read(Text.Json.Utf8JsonReader& reader, Type typeToConvert, Text.Json.JsonSerializerOptions options)
| Type | Name | Description |
|---|---|---|
| Text.Json.Utf8JsonReader& | reader | The reader. |
| Type | typeToConvert | The type to convert. |
| Text.Json.JsonSerializerOptions | options | The options. |
| Type | Description |
|---|---|
| T | T. |
Writes the specified writer.
public override void Write(Text.Json.Utf8JsonWriter writer, T value, Text.Json.JsonSerializerOptions options)
| Type | Name | Description |
|---|---|---|
| Text.Json.Utf8JsonWriter | writer | The writer. |
| T | value | The value. |
| Text.Json.JsonSerializerOptions | options | The options. |