0

I'm trying to do exactly the same thing as described in this stackoverflow question: Simplest way to read JSON from a URL in Java

For the top response, I understand the code, however, they say "Using the Maven artifact org.json:json I got the following code". Now, I'm completely new to Maven and I have no idea how it works, although I do have it installed.

I've tried searching the internet on how to use this Maven artifact in my code but I can't find anything and I am completely lost.

If someone could point me in the right direction or help me out with this that would be greatly appreciated!

  • Start creating a simple project there are a lot of tutorial [here](https://mkyong.com/maven/how-to-create-a-java-project-with-maven/) for example. After you set up the project you can add all the dependencies you need in the pom.xml – Pp88 Oct 25 '22 at 19:56

0 Answers0