>First question, is this the best JSON structure I should use?
simple one, easy to parse like an hash table
>Second question, after I use request.getParameter to get the JSON string, what tool should I use to parse the JSON string?
For example :
http://www.json.org/java/index.htmlCheck this article :
http://www.experts-exchange.com/articles/Programming/Languages/Scripting/JavaScript/JSON/Import-and-Export-datas-from-JSON-string-to-Oracle-with-Java-Stored-Procedure.htmlYou should find some part of code to use the class.
For your needs you need to create a new json object (JSONObject) from string and parse it (JSONTokener)