Class ComplexPropertiesConverter<T>
Class ComplexPropertiesConverter.
Implements the
Inheritance
System.Object
ComplexPropertiesConverter<T>
Namespace: Radzen
Assembly: Radzen.Blazor.dll
Syntax
public class ComplexPropertiesConverter<T> : JsonConverter<T>
Type Parameters
Name | Description |
---|---|
T |
Constructors
ComplexPropertiesConverter(IEnumerable<String>)
Initializes a new instance of the ComplexPropertiesConverter<T> class.
Declaration
public ComplexPropertiesConverter(IEnumerable<string> complexProperties)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<System.String> | complexProperties | The complex properties. |
Methods
Read(ref Utf8JsonReader, Type, JsonSerializerOptions)
Reads the specified reader.
Declaration
public override T Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Parameters
Type | Name | Description |
---|---|---|
Utf8JsonReader | reader | The reader. |
Type | typeToConvert | The type to convert. |
JsonSerializerOptions | options | The options. |
Returns
Type | Description |
---|---|
T | T. |
Write(Utf8JsonWriter, T, JsonSerializerOptions)
Writes the specified writer.
Declaration
public override void Write(Utf8JsonWriter writer, T value, JsonSerializerOptions options)
Parameters
Type | Name | Description |
---|---|---|
Utf8JsonWriter | writer | The writer. |
T | value | The value. |
JsonSerializerOptions | options | The options. |