I've tried to generate the json output with some simple classes put in your project - so no needed extra dependencies are used.
Of course existing libraries are better. If you prefer a additional lib - take this one:
org.jsonjson20211205
It is API compatible to the new classes JsonObject and JsonArray (They are called JSONObject and JSONArray in org.json.json)
Hi,
I've tried to generate the json output with some simple classes put in your project - so no needed extra dependencies are used. Of course existing libraries are better. If you prefer a additional lib - take this one:
It is API compatible to the new classes JsonObject and JsonArray (They are called JSONObject and JSONArray in org.json.json)