Open hantsy opened 3 years ago
When serializing an object, Jackson has some configuration to filter the NULL, empty values, but it seems Jsonb config only includes a withNullValues option, and there is no option to ignore empty values, such as:
withNullValues
Hi @hantsy , think it relates to https://github.com/eclipse-ee4j/jsonb-api/issues/121 where the instantiation is blocked, for all other cases you can handle it with a setter (setXXX(JsonValue v))
When serializing an object, Jackson has some configuration to filter the NULL, empty values, but it seems Jsonb config only includes a
withNullValues
option, and there is no option to ignore empty values, such as: