FaviconConfigJsonConverter
Custom JSON converter for FaviconConfig that supports both string and object formats.Syntax
Inheritance
Methods
Read
Parameters
- reader Utf8JsonReader: The JSON reader.
- typeToConvert Type: The type to convert to.
- options JsonSerializerOptions: The serializer options.
Returns
FaviconConfig A FaviconConfig object.Write
Parameters
- writer Utf8JsonWriter: The JSON writer.
- value FaviconConfig: The FaviconConfig object to write.
- options JsonSerializerOptions: The serializer options.