Reputation: 2621
I wish to parse JSON and for that I have downloaded java-json.jar file from this URL. I have added this in Build Path by
But import org.json.JSONArray gives me a error. Also when I stop at org. it gives me a few suggestions which does not include json.
What should I do to successfully import the json package?
Upvotes: 3
Views: 7925
Reputation: 668
Build your project after including the jar.If it doesn't work, check whether the particular class you are looking for is present in the jar file or not.
Upvotes: 1