JsonDictionaryContract Class

Namespace: Stimulsoft.Base.Json.Serialization

Contract details for a Type used by the JsonSerializer.

Inheritance

Inherits from: JsonContainerContract

Constructors

Constructor Description
JsonDictionaryContract(Type underlyingType) Initializes a new instance of the JsonDictionaryContract class.

JsonDictionaryContract(underlyingType: Type)

Initializes a new instance of the JsonDictionaryContract class.

Parameters

  • underlyingType (Type) — The underlying type for the contract.

Properties

Property Type Description
DictionaryKeyType Type Gets the Type of the dictionary keys.
DictionaryValueType Type Gets the Type of the dictionary values.