Class ChartJsonStringEnumConverter<TEnum>
Inheritance
System.Object
ChartJsonStringEnumConverter<TEnum>
Namespace: Telerik.Blazor.Components.Common.DataViz.Charts.JsonConverters
Assembly: Telerik.Blazor.dll
Syntax
public class ChartJsonStringEnumConverter<TEnum> : JsonConverter<TEnum> where TEnum : Enum
Type Parameters
TEnum
|
Constructors
ChartJsonStringEnumConverter()
Declaration
public ChartJsonStringEnumConverter()
Methods
Read(ref Utf8JsonReader, Type, JsonSerializerOptions)
Declaration
public override TEnum Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Parameters
System.Text.Json.Utf8JsonReader
reader
|
System.Type
typeToConvert
|
System.Text.Json.JsonSerializerOptions
options
|
Returns
TEnum
|
Write(Utf8JsonWriter, TEnum, JsonSerializerOptions)
Declaration
public override void Write(Utf8JsonWriter writer, TEnum value, JsonSerializerOptions options)
Parameters
System.Text.Json.Utf8JsonWriter
writer
|
TEnum
value
|
System.Text.Json.JsonSerializerOptions
options
|