I am trying to think of scenario to use Jackson TreeModel and Databinding API (Object mapper). When you would chose one again the another ?
Asked
Active
Viewed 284 times
1 Answers
1
URL
-es you added to a question contain the answer in the overview.
We’ll use JsonNode for various conversions as well as adding, modifying and removing nodes.
and
Intro to the Jackson ObjectMapper
This write-up is focused on understanding the Jackson ObjectMapper class – and how to serialize Java objects into JSON and deserialize JSON string into Java objects.
I can only confirm that. 99%
of examples I had to serialize Java
POJO
classes to JSON
and vice versa. When I need to change a little JSON
I use Tree Model
to avoid whole serializing and deserializing process.

Michał Ziober
- 37,175
- 18
- 99
- 146