Snippets tagged “json-ignoreproperties”
1 snippet uses this tag.
- Only using @JsonIgnore during serialization, but not deserializationJava
If you want to use the @JsonIgnore annotation to ignore a field during serialization but not during deserialization, you can use the @JsonIgnoreProperties annotation and set its writeOnly property to true.