Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {"user_main": {
- "password": "hello1@H",
- "email":"hartk1@walla.com"},
- "accaunts": {
- "gmail":{
- "max78@gmail.com":"max123"},
- "facebook":{
- "max456@gmail.com":"max3234"},
- "twitter":{
- "max456@gmail.com":"maxpass12"}
- }
- }
- Iterator<String> iter = null;
- try {
- iter = jObject.optJSONObject("u'accaunts'").keys();
- while (iter.hasNext()) {
- String key = iter.next();
- mylist.add(jObject.get(key).toString());
- }
- }catch (JSONException e) {
- e.printStackTrace();
- }
- {"u'twitter'":{"u'max456@gmail.com'":"u'maxpass12'"},"u'facebook'":{"u'max456@gmail.com'":"u'max3234'"},"u'gmail'":{"u'max78@gmail.com'":"u'max123'"}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement