API Reference
Class
ChartJsFontStyleConverter
Converts ChartJsFontStyle enum to lowercase string.
Inheritance
- JsonConverter<ChartJsFontStyle>
- ChartJsFontStyleConverter
Constructors
public ChartJsFontStyleConverter() #Methods
public override ChartJsFontStyle Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) #Returns:
ChartJsFontStyleReads a ChartJsFontStyle value from JSON.
Parameters
- reader System.Text.Json.Utf8JsonReader@
- The JSON reader.
- typeToConvert System.Type
- The target type to convert.
- options System.Text.Json.JsonSerializerOptions
- The serializer options.
Returns
The parsed ChartJsFontStyle.
public override Void Write(Utf8JsonWriter writer, ChartJsFontStyle value, JsonSerializerOptions options) #Returns:
VoidWrites a ChartJsFontStyle value as JSON.
Parameters
- writer System.Text.Json.Utf8JsonWriter
- The JSON writer.
- value HtmlForgeX.ChartJsFontStyle
- The value to write.
- options System.Text.Json.JsonSerializerOptions
- The serializer options.
Inherited Methods
public override Boolean CanConvert(Type typeToConvert) #Returns:
BooleanInherited from 0, Culture=neutral, PublicKeyToken=null]]
Parameters
- typeToConvert Type
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
public override ChartJsFontStyle ReadAsPropertyName(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) #Returns:
ChartJsFontStyleInherited from 0, Culture=neutral, PublicKeyToken=null]]
Parameters
- reader Utf8JsonReader
- typeToConvert Type
- options JsonSerializerOptions
public override Void WriteAsPropertyName(Utf8JsonWriter writer, ChartJsFontStyle value, JsonSerializerOptions options) #Returns:
VoidInherited from 0, Culture=neutral, PublicKeyToken=null]]
Parameters
- writer Utf8JsonWriter
- value ChartJsFontStyle
- options JsonSerializerOptions