Show / Hide Table of Contents

    Class JsonContainerContract

    Contract details for a System.Type used by the JsonSerializer.

    Inheritance
    System.Object
    JsonContract
    JsonContainerContract
    JsonArrayContract
    JsonDictionaryContract
    JsonDynamicContract
    JsonISerializableContract
    JsonObjectContract
    Inherited Members
    JsonContract.IsNullable
    JsonContract.IsConvertable
    JsonContract.IsEnum
    JsonContract.NonNullableUnderlyingType
    JsonContract.InternalReadType
    JsonContract.ContractType
    JsonContract.IsReadOnlyOrFixedSize
    JsonContract.IsSealed
    JsonContract.IsInstantiable
    JsonContract.UnderlyingType
    JsonContract.CreatedType
    JsonContract.IsReference
    JsonContract.Converter
    JsonContract.InternalConverter
    JsonContract.OnDeserializedCallbacks
    JsonContract.OnDeserializingCallbacks
    JsonContract.OnSerializedCallbacks
    JsonContract.OnSerializingCallbacks
    JsonContract.OnErrorCallbacks
    JsonContract.OnDeserialized
    JsonContract.OnDeserializing
    JsonContract.OnSerialized
    JsonContract.OnSerializing
    JsonContract.OnError
    JsonContract.DefaultCreator
    JsonContract.DefaultCreatorNonPublic
    JsonContract.InvokeOnSerializing(Object, StreamingContext)
    JsonContract.InvokeOnSerialized(Object, StreamingContext)
    JsonContract.InvokeOnDeserializing(Object, StreamingContext)
    JsonContract.InvokeOnDeserialized(Object, StreamingContext)
    JsonContract.InvokeOnError(Object, StreamingContext, ErrorContext)
    JsonContract.CreateSerializationCallback(MethodInfo)
    JsonContract.CreateSerializationErrorCallback(MethodInfo)
    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 JsonContainerContract : JsonContract

    Constructors

    | Improve this Doc View Source

    JsonContainerContract(Type)

    Initializes a new instance of the JsonContainerContract class.

    Declaration
    public JsonContainerContract(Type underlyingType)
    Parameters
    Type Name Description
    System.Type underlyingType

    The underlying type for the contract.

    Properties

    | Improve this Doc View Source

    FinalItemContract

    Declaration
    public JsonContract FinalItemContract { get; }
    Property Value
    Type Description
    JsonContract
    | Improve this Doc View Source

    ItemContract

    Declaration
    public JsonContract ItemContract { get; set; }
    Property Value
    Type Description
    JsonContract
    | Improve this Doc View Source

    ItemConverter

    Gets or sets the default collection items JsonConverter.

    Declaration
    public JsonConverter ItemConverter { get; set; }
    Property Value
    Type Description
    JsonConverter

    The converter.

    | Improve this Doc View Source

    ItemIsReference

    Gets or sets a value indicating whether the collection items preserve object references.

    Declaration
    public bool? ItemIsReference { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Boolean>

    true if collection items preserve object references; otherwise, false.

    | Improve this Doc View Source

    ItemReferenceLoopHandling

    Gets or sets the collection item reference loop handling.

    Declaration
    public ReferenceLoopHandling? ItemReferenceLoopHandling { get; set; }
    Property Value
    Type Description
    System.Nullable<ReferenceLoopHandling>

    The reference loop handling.

    | Improve this Doc View Source

    ItemTypeNameHandling

    Gets or sets the collection item type name handling.

    Declaration
    public TypeNameHandling? ItemTypeNameHandling { get; set; }
    Property Value
    Type Description
    System.Nullable<TypeNameHandling>

    The type name handling.

    • Improve this Doc
    • View Source
    • 0 Comments
    In This Article
    • Constructors
      • JsonContainerContract(Type)
    • Properties
      • FinalItemContract
      • ItemContract
      • ItemConverter
      • ItemIsReference
      • ItemReferenceLoopHandling
      • ItemTypeNameHandling