baron_bartek baron_bartek -3 years ago 234
Java Question

org.json.simple cannot be resolved

I'm a total java newbie and I have this problem. I try to decode Json and in order to do that I want to import these packages:

import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
import org.json.simple.parser.JSONParser;
import org.json.simple.parser.ParseException;

"The import cannot be resolved"... are these packages unavailable anymore or do I have to do something else in order to make them work?

Thanx in advance.

Answer Source

Probably your simple json.jar file isn't in your classpath.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download