r/learnjava•
Phizy

JSON Data from a URL

Hey guys, I was wondering what is the best way to get JSON data from an API Url. I have been looking around and on StackOverflow, and it seems there is no "good" concrete answer. They are either super verbose or a one-liner that seems hard for me to understand. This is the thread I am currently looking at https://stackoverflow.com/questions/4308554/simplest-way-to-read-json-from-a-url-in-java and was wondering what everyone's input was on this?

Posted Dec 6, 2018, 1:06 AM UTC

13
Loading comments…