Class JsonPrimitiveContract
Contract details for a System.Type used by the JsonSerializer.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Bayat.Json.Serialization
Assembly: Bayat.Json.Runtime.dll
Syntax
public class JsonPrimitiveContract : JsonContract
Constructors
| Improve this Doc View SourceJsonPrimitiveContract(Type)
Initializes a new instance of the JsonPrimitiveContract class.
Declaration
public JsonPrimitiveContract(Type underlyingType)
Parameters
Type | Name | Description |
---|---|---|
System.Type | underlyingType | The underlying type for the contract. |
Properties
| Improve this Doc View SourceTypeCode
Declaration
public PrimitiveTypeCode TypeCode { get; set; }
Property Value
Type | Description |
---|---|
PrimitiveTypeCode |