JsonStringContract Class

Namespace: Stimulsoft.Base.Json.Serialization

Contract details for a Type used by the JsonSerializer.

Inheritance

Inherits from: JsonPrimitiveContract

Constructors

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

JsonStringContract(underlyingType: Type)

Initializes a new instance of the JsonStringContract class.

Parameters

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