Class FontJsonConverter
Inheritance
JsonConverter
FontJsonConverter
Inherited Members
JsonConverter.CanRead
JsonConverter.CanWrite
Assembly: SadConsole.dll
Syntax
public class FontJsonConverter : JsonConverter<IFont>
Constructors
FontJsonConverter()
Declaration
public FontJsonConverter()
Methods
ReadJson(JsonReader, Type, IFont, bool, JsonSerializer)
Declaration
public override IFont ReadJson(JsonReader reader, Type objectType, IFont existingValue, bool hasExistingValue, JsonSerializer serializer)
Parameters
Type |
Name |
Description |
JsonReader |
reader |
|
Type |
objectType |
|
IFont |
existingValue |
|
bool |
hasExistingValue |
|
JsonSerializer |
serializer |
|
Returns
Overrides
WriteJson(JsonWriter, IFont, JsonSerializer)
Declaration
public override void WriteJson(JsonWriter writer, IFont value, JsonSerializer serializer)
Parameters
Type |
Name |
Description |
JsonWriter |
writer |
|
IFont |
value |
|
JsonSerializer |
serializer |
|
Overrides