Closed
Description
It is sometimes desired to only obtain some data that is far down in the tree of the response JSON. It would help to reduce a good amount of boilerplate if one could just use JSONPath to obtain targeted parts of the response.
Describe the solution you'd like
I see that this is implemented for the response object in the spring boot test utils. I don't know if there would be any drawbacks to including jayway's JsonPath lib as a dependency. If there are no worries, I think it would be great if we could use that lib with some minor API updates to GraphQLResponse that would allow for the use of JSONPath in getting data from the response.