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