Table of Contents

Class JsonPrimitiveContract

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

Contract details for a Type used by the JsonSerializer.

public class JsonPrimitiveContract : JsonContract
Inheritance
JsonPrimitiveContract
Derived
Inherited Members

Constructors

JsonPrimitiveContract(Type)

Initializes a new instance of the JsonPrimitiveContract class.

public JsonPrimitiveContract(Type underlyingType)

Parameters

underlyingType Type

The underlying type for the contract.