Getting an error when making a api call [Solved]

Ty MR 3ventic for the help. This is what I did:
try { URL url = new URL("https://tmi.twitch.tv/group/user/m0e_tv/chatters"); URLConnection conn = url.openConnection(); BufferedReader br = new BufferedReader( new InputStreamReader( conn.getInputStream() )); String line; String all = ""; while ((line = br.readLine()) != null) { all = all + line; } br.close(); JsonObject jsonObj = JsonObject.readFrom(all); //works good now System.err.println(jsonObj.get("chatters")); } catch (IOException e) { e.printStackTrace(); }

I can get the chatters property fine. But I want viewers property inside that chatters property. How do I get that? I tried jsonObj.get("chatters.viewers") and jsonObj.get("chatters[viewers]") How do I access that property please help Thank you