Can we replace the annotation @JsonInclude(JsonInclude.Include.NON_EMPTY)
which is from JACKSON to their counterpart annotation in GSON?
Can we replace the annotation @JsonIgnoreProperties(ignoreUnknown = true)
which is from JACKSON to their counterpart annotation in GSON?
Asked
Active
Viewed 342 times
0

vizzaagggg
- 1
- 1
-
Possible duplicate of [Gson Serialize field only if not null or not empty](https://stackoverflow.com/questions/18491733/gson-serialize-field-only-if-not-null-or-not-empty) – S.K. Oct 10 '18 at 11:16
-
@JsonIgnoreProperties(ignoreUnknown = true any idea for this one? – vizzaagggg Oct 10 '18 at 11:29