Class ComplexPropertiesConverter<T>
- Namespace
- Radzen
- Assembly
- Radzen.Blazor.dll
Class ComplexPropertiesConverter. Implements the JsonConverter<T>
public class ComplexPropertiesConverter<T> : JsonConverter<T>
Type Parameters
T
- Inheritance
-
ComplexPropertiesConverter<T>
- Inherited Members
Constructors
ComplexPropertiesConverter(IEnumerable<string>)
Initializes a new instance of the ComplexPropertiesConverter<T> class.
public ComplexPropertiesConverter(IEnumerable<string> complexProperties)
Parameters
complexProperties
IEnumerable<string>The complex properties.
- See Also
Methods
Read(ref Utf8JsonReader, Type, JsonSerializerOptions)
Reads the specified reader.
public override T Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Parameters
reader
Utf8JsonReaderThe reader.
typeToConvert
TypeThe type to convert.
options
JsonSerializerOptionsThe options.
Returns
- T
T.
- See Also
Write(Utf8JsonWriter, T, JsonSerializerOptions)
Writes the specified writer.
public override void Write(Utf8JsonWriter writer, T value, JsonSerializerOptions options)
Parameters
writer
Utf8JsonWriterThe writer.
value
TThe value.
options
JsonSerializerOptionsThe options.
- See Also