Hello,
let's assume a JSON structure containing a list of people, each having favorite foods, hobbies, and speaking one or more foreign languages.
I would like to retrieve data using a path-like syntax. For example: person[0].hobbies.*,person[1].foods.*, meaning "retrieve person 0's hobbies and foods [but not their foreign languages]".
Another example, - person[*].hobbies, - person[*].languages, meaning "delete all persons'hobbies and languages [but retrieve their favorite foods].
Can such queries be made with the Jackson Java API? If so, how? If not, can you recommend another API?
Many thanks.
Cheers,
Phil