With Jackson we can extract specific element from JSON string and map it to relevant class, like below:
ObjectMapper mapper = new ObjectMapper();
JsonNode root = mapper.readTree(someJson);
JsonNode responseNode = root.get("response");
MyResponse myResponse = mapper.treeToValue(responseNode, MyResponse.class);
How can I achieve the same with JSON-B?