java - Converting string to json object using json.simple -
i using org.json.simple.jsonobject , want convert string json object.i have tried no success. have been trying
string value=request.getparameter("savepos"); jsonobject jsonobject = (jsonobject) jsonvalue.parse(value);
please in advance.
try this:
jsonparser parser = new jsonparser(); jsonobject json = (jsonobject) parser.parse(stringtoparse);
Comments
Post a Comment