ThrowOnExtraProperties

@Retention(value = RetentionPolicy.RUNTIME)
@Target(value = [ElementType.TYPE])
public annotation ThrowOnExtraProperties


Properties that don't map to class fields when serializing to a class annotated with this annotation cause an exception to be thrown.