Extract specific node of JSON response in RESTEasy Client
问题 I'm retrieving a JSON string from an API using a RESTEasy client. The JSON payload looks something like this: { "foo1" : "", "foo2" : "", "_bar" : { "items" : [ { "id" : 1 , "name" : "foo", "foo" : "bar" }, { "id" : 2 , "name" : "foo", "foo" : "bar" }, { "id" : 3 , "name" : "foo", "foo" : "bar" }, { "id" : 4 , "name" : "foo", "foo" : "bar" } ] } } Now I'd like to extract only the items node for object mapping. What is the best way to intercept the JSON response body and modify it to have