I have a fairly large JSON response in which I'm interested in single field - status
:
{
"title": "Some title",
"status": "pending",
"data": {
...
},
"meta": {
...
}
}
All I need to do is read the status
value of the JSON response as string. I would prefer to not have to build a POJO to model it, because in my application I just need to store the JSON in a database on a particular status or discard it.
The application already uses Jackson for other more complicated cases so I'd prefer to stick with that library. So far all the examples I've found try to map the JSON to an object.