Loading...
Searching...
No Matches
OFT.Rendering.Settings.FontSettingJsonConverter Class Reference

Custom JSON converter for serializing and deserializing FontSetting objects. More...

Inheritance diagram for OFT.Rendering.Settings.FontSettingJsonConverter:
[legend]
Collaboration diagram for OFT.Rendering.Settings.FontSettingJsonConverter:
[legend]

Public Member Functions

override void WriteJson (JsonWriter writer, FontSetting? value, JsonSerializer serializer)
 Throws a NotImplementedException since writing JSON is not supported by this converter.
 
override FontSetting ReadJson (JsonReader reader, Type objectType, FontSetting? existingValue, bool hasExistingValue, JsonSerializer serializer)
 Converts the JSON data from the reader to a new instance of FontSetting.
 

Properties

override bool CanWrite = false [get]
 Indicates that this converter does not support writing JSON data.
 

Detailed Description

Custom JSON converter for serializing and deserializing FontSetting objects.

Member Function Documentation

◆ ReadJson()

override FontSetting OFT.Rendering.Settings.FontSettingJsonConverter.ReadJson ( JsonReader  reader,
Type  objectType,
FontSetting?  existingValue,
bool  hasExistingValue,
JsonSerializer  serializer 
)

Converts the JSON data from the reader to a new instance of FontSetting.

◆ WriteJson()

override void OFT.Rendering.Settings.FontSettingJsonConverter.WriteJson ( JsonWriter  writer,
FontSetting?  value,
JsonSerializer  serializer 
)

Throws a NotImplementedException since writing JSON is not supported by this converter.

Property Documentation

◆ CanWrite

override bool OFT.Rendering.Settings.FontSettingJsonConverter.CanWrite = false
get

Indicates that this converter does not support writing JSON data.


The documentation for this class was generated from the following file: