I've been reading up on Jackson for a while to find a solution to this, but I've decided to finally just ask for help. I'm looking for a specific capability in reading a JSON.
My JSON source is one big array, with single objects stored at every index. Something like,
[
{ name: sarah, age: 12, eyes: "blue"},
{ name:ben, age: 23, eyes: "brown"}
]
I'd like to make a value search(in this example names) that returns the nested object with that give property value. The reason for is to have access to the other properties grouped with that one. In this case, I'd like to return the age and eyes color of a given person's name.
Is there something like this in Jackson or am I looking in the wrong place?