I need to serialize some objects to a JSON and send to a WebService. How can I do it using the org.json library? Or I\'ll have to use another one? Here is the class I need t
Easy way to do it without annotations is to use Gson library
Simple as that:
Gson gson = new Gson(); String json = gson.toJson(listaDePontos);