JsonSettings.RejectsExtraProperties property

True if JSON properties without corresponding object properties should throw an exception when reading JSON.

public bool RejectsExtraProperties { get; set; }

Remarks

The default is false, which ignores any extra JSON properties.

See Also