I want to convert a json object to an array of object in android, I use that to convert to JSON ` JSONArray jsonArr = new JSONArray();
for (Modificateurs mod : this.getModificateurs()) {
JSONObject pnObj = new JSONObject();
pnObj.put(Artifact.JSON_MODIFICATEUR, mod.getModificateur());
pnObj.put(Artifact.JSON_DATEMODIFICATION, mod.getDateModification());
jsonArr.put(pnObj);
}
Now I want to do the inverse, please help