Getting an error when making a api call [Solved]

very very very easy. I know what to do. This is what I did:

JsonObject jsonObj = JsonObject.readFrom(all); JsonObject jsonObj2 = (JsonObject) jsonObj.get("chatters"); System.err.println(jsonObj2.get("viewers")); //This prints out all the viewers //and only the viewers and not //garbage like mods etc...

Thank you very much for the help Mr. 3ventic

1 Like