Annotation Type ThrowOnExtraProperties


@Retention(RUNTIME) @Target(TYPE) public @interface ThrowOnExtraProperties
Properties that don't map to class fields when serializing to a class annotated with this annotation cause an exception to be thrown.