Ie, we need an analogue of the php
function of the json_encode()
.
C correct processing of nesting of arrays ..
2
Gson gson = new Gson ();
String json = gson.toJson(obj);
To help you come:
Source: https://ru.stackoverflow.com/questions/133136/
All Articles