@Override
public Boolean hasRequiredMarker(AnnotatedMember m) {
FieldConfig fieldConfig = m.getAnnotation(FieldConfig.class);
if (fieldConfig != null) {
return fieldConfig.required();
}
return null;
}
// read and write only settings only work in the absence of another, explicit, JsonProperty.