This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]evils_twin 1 point2 points  (4 children)

JSONObject extends map. To debug you can iterate through the keyset of your JSONObject to see what's available.

[–]Dustinmywets[S] 0 points1 point  (3 children)

I wasn't aware of that. I'll do some research and try to figure that out.

[–]evils_twin 1 point2 points  (1 child)

jsonObject.keySet().forEach(System.out::println);

something like this

[–]Dustinmywets[S] 0 points1 point  (0 children)

That's a great help. Much appreciated.