I\'ve a problem trying to make my page printing out the JSONObject in the order i want. In my code, I entered this:
JSONObject
Download "json simple 1.1 jar" from this https://code.google.com/p/json-simple/downloads/detail?name=json_simple-1.1.jar&can=2&q=
And add the jar file to your lib folder
using JSONValue you can convert LinkedHashMap to json string