I have downloaded gson.jar from its source.
Right-clicked at libraries folder -> add new -> add jar -> gson.jar
However when i try to use
Gson gson = new Gson();
It complains that it cannot find symbol Gson.
What is the right way how to add gson to the project? I am not using maven
Thanks for help!
Go to Download Gson
There, access last Gson version:

You will see sth like this:

In order to import Gson using netbeans you will need to download 3 files from here:
Then, you have to create a library on netbeans:

It should work now!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With