3 ms·
Instead of using a typed POJO you can deserialize/serialize a Map<String, Object>. You could also use a POJO for the fields you know and put a map inside for t
by Traubenfuchs 8y ago
Instead of using a typed POJO you can deserialize/serialize a Map<String, Object>.
You could also use a POJO for the fields you know and put a map inside for the fields you don't know.
If that's not enough you can use JsonNode, or ObjectNode where you can freely add and remove json values.
- sonnyblarney 8y agoOk, touché, good point.