<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />

JsonDictionaryContract

Contract details for a Type used by the JsonSerializer.
public Func<string, string> DictionaryKeyResolver { get; set; }

Gets or sets the dictionary key resolver.

public Type DictionaryKeyType { get; }

Gets the Type of the dictionary keys.

public Type DictionaryValueType { get; }

Gets the Type of the dictionary values.

public bool HasParameterizedCreator { get; set; }

Gets a value indicating whether the creator has a parameter with the dictionary values.

public ObjectConstructor<object> OverrideCreator { get; set; }

Gets or sets the function used to create the object. When set this function will override DefaultCreator.

public JsonDictionaryContract(Type underlyingType)

Initializes a new instance of the JsonDictionaryContract class.