Table of Contents

Class JsonStringContract

Namespace
Newtonsoft.Json.Serialization
Assembly
Newtonsoft.Json.dll

Contract details for a Type used by the JsonSerializer.

public class JsonStringContract : JsonPrimitiveContract
Inheritance
JsonStringContract
Inherited Members

Constructors

JsonStringContract(Type)

Initializes a new instance of the JsonStringContract class.

public JsonStringContract(Type underlyingType)

Parameters

underlyingType Type

The underlying type for the contract.