/// <summary> /// Initializes a new instance of the <see cref="JsonObjectContract"/> class. /// </summary> /// <param name="underlyingType">The underlying type for the contract.</param> public JsonObjectContract(Type underlyingType) : base(underlyingType) { ContractType = JsonContractType.Object; Properties = new JsonPropertyCollection(UnderlyingType); CreatorParameters = new JsonPropertyCollection(UnderlyingType); }