This is the JSON String I am getting back from a URL and I would like to extract highDepth value from the below JSON String.
{
  "description": "",
  "bean": "com.hello.world",
  "stats": {
    "highDepth": 0,
    "lowDepth": 0
  }
}
I am using GSON here as I am new to GSON. How do I extract highDepth from the above JSON Strirng using GSON?
String jsonResponse = restTemplate.getForObject(url, String.class);
// parse jsonResponse to extract highDepth
 
     
     
    