So I'm working on a windows app to practice my coding and expand my knowledge and I'm having a big issue working with the JSON from Riot Games. I'm not really sure the terminology to look up because I've never learned how to work with JSON so I've been making fair progress using google-fu and stack-overflow as references, along with various documentation.
I received all the following data using inputstream and outputstream. But it's all as an unformatted JSON, no indents and really hard to read. I assume I used the wrong tool for the task here and it just read characters and printed them.
My question is this, what syntax should I be looking at to import a JSON from a URL to a JSON file. Then what should I look at to convert or read that JSON as multiple different Java objects so that I may use the data in my code.
Using Gson is an option I've explored already but I'm not comfortable with their syntax, and I'd rather steer clear of more 3rd party dependencies if i can help it.
Any idea's or discussion is welcome, I'm a little over my head with the JSON here so any discussion i can learn from would help.