Closed GoogleCodeExporter closed 9 years ago
class Response {
Map<String, User> result;
}
class User {
String _id;
Website website;
String companyLogo;
String companyLogoWebsite;
String formEmailAddress;
}
class Website {
String websiteId;
String websiteName;
String website_style;
}
Deserialize the JSON as a Response.class. Then you can get the user from the
result Map and call user.website.websiteName to get the value.
Original comment by j...@squareup.com
on 9 Aug 2014 at 6:09
Original issue reported on code.google.com by
rajubish...@gmail.com
on 29 Aug 2013 at 12:38