Newtonsoft.Json.Serialization.DefaultContractResolver.CreateArrayContract C# (CSharp) Method

CreateArrayContract() protected method

Creates a JsonArrayContract for the given type.
protected CreateArrayContract ( Type objectType ) : JsonArrayContract
objectType System.Type Type of the object.
return JsonArrayContract
    protected virtual JsonArrayContract CreateArrayContract(Type objectType)
    {
      JsonArrayContract contract = new JsonArrayContract(objectType);
      InitializeContract(contract);

      return contract;
    }