Class ValueTupleDictionaryConverterFactory
Factory for creating JsonConverters for Dictionary with ValueTuple keys.
Handles serialization/deserialization of Dictionary<(T1, T2), TValue> and similar types.
Keys are stored as Base64-encoded JSON strings.
public class ValueTupleDictionaryConverterFactory : JsonConverterFactory
Inheritance
Methods
CanConvert(Type)
When overridden in a derived class, determines whether the converter instance can convert the specified object type.
public override bool CanConvert(Type typeToConvert)
CreateConverter(Type, JsonSerializerOptions)
Creates a converter for a specified type.
public override JsonConverter? CreateConverter(Type typeToConvert, JsonSerializerOptions options)