ComplexPropertiesConverter<T> Class

Class ComplexPropertiesConverter. Implements the JsonConverter<T>

Inheritance

Object

Text.Json.Serialization.JsonConverter

Text.Json.Serialization.JsonConverter<T>

ComplexPropertiesConverter<T>

Inherited Members

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

Syntax

public class ComplexPropertiesConverter<T> : Text.Json.Serialization.JsonConverter<T>

Type Parameters

Name Description
T

Constructors

ComplexPropertiesConverter<T>Link to this section

Initializes a new instance of the ComplexPropertiesConverter<T> class.

Declaration
public ComplexPropertiesConverter<T>(IEnumerable<string> complexProperties)
Parameters
Type Name Description
IEnumerable<string> complexProperties The complex properties.

Methods

ReadLink to this section

Reads the specified reader.

Declaration
public override T Read(Text.Json.Utf8JsonReader& reader, Type typeToConvert, Text.Json.JsonSerializerOptions options)
Parameters
Type Name Description
Text.Json.Utf8JsonReader& reader The reader.
Type typeToConvert The type to convert.
Text.Json.JsonSerializerOptions options The options.
Returns
Type Description
TT.

WriteLink to this section

Writes the specified writer.

Declaration
public override void Write(Text.Json.Utf8JsonWriter writer, T value, Text.Json.JsonSerializerOptions options)
Parameters
Type Name Description
Text.Json.Utf8JsonWriter writer The writer.
T value The value.
Text.Json.JsonSerializerOptions options The options.
An error has occurred. This app may no longer respond until reloaded. Reload 🗙