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

CreateDictionaryContract() protected method

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

      return contract;
    }