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

JsonDictionaryContract

Contract details for a Type used by the JsonSerializer.
public Type DictionaryKeyType { get; }

Gets the Type of the dictionary keys.

public Type DictionaryValueType { get; }

Gets the Type of the dictionary values.

public Func<string, string> PropertyNameResolver { get; set; }

Gets or sets the property name resolver.

public JsonDictionaryContract(Type underlyingType)

Initializes a new instance of the JsonDictionaryContract class.