skip to Main Content

How to parse JSON response from rest request without name of root element in java

I got a response to my request: [ { "data":{ "channel":{ "id":"708087644", "__typename":"User" } }, "extensions":{ "durationMilliseconds":112, "operationName":"ViewerCardModLogsMessagesBySender", "requestID":"01GWVKPD13BQGBZS64TY4824B9" } } ] I am trying to create a Java class where I can parse this response: ResponseEntity<RestResponse> result = restTemplate.postForEntity(uri,…

VIEW QUESTION
Back To Top
Search