JsonConverter<T>
Converts an object or value to or from JSON.
Indicates whether null should be passed to the converter on serialization, and whether Null should be passed on deserialization.
public abstract T Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Reads and converts the JSON to type T.
Writes a specified value as JSON.