[Solved] How to parse get roles value from this json?


your pojo class should be like this.then it will work

public class MyPojo
 {
private String[] roles;

public String[] getRoles ()
{
    return roles;
}

public void setRoles (String[] roles)
{
    this.roles = roles;
}

@Override
public String toString()
{
    return "ClassPojo [roles = "+roles+"]";
}
}

1

solved How to parse get roles value from this json?