how to change from object to array while parsing gson.From code example
Example: mapping a pojo with json via gson
class SaltPOJO {
@SerializedName("CODE")
private String code = null;
@SerializedName("USER")
private User user = null;
...
class User {
@SerializedName("E_MAIL")
private String e_mail = null;
@SerializedName("SALT")
private String salt = null;