如何解析多维数组?

时间:2013-11-17 09:29:59

标签: json multidimensional-array

我想要使用key:followersperdate

以下多维数组的键和值

{"版本":" 1.2""用户名":"地方政府机构"" URL&#34 ;: " HTTP://t.co/ospRRVboge","化身":" HTTP://pbs.twimg.com/profile_images/378800000016800237/3787f02f0e0e10a0a19d9b508abd6ce2_normal.png" " followers_current":38775"日期date_updated":" 2013年11月15日"" follow_days":" 774&#34 ;," started_followers" 544" growth_since":38231" average_growth":" 49""明天" :" 38824"" next_month":" 40245"" followers_yesterday":37232"秩":&# 34; 14934"" followersperdate" {" date2013-11-15":38775" date2013-11-05":37232&#34 ; date2013-11-04":37126" date2013-10-26":36203" date2013-10-10":34384" date2013-10- 02":33353" date2013-09-18":30870}," LAST_UPDATE":1384679796}

1 个答案:

答案 0 :(得分:1)

我为你清除它,你想要的对象,有7个子对象,可以根据你的语言进行解析, 查看此网页以了解更多信息,选择您的语言,在网站底部: http://www.json.org/

如果您使用的是javaScript,请检查此http://www.w3schools.com/json/json_intro.asp

{
"version": "1.2",
"username": "LGUS",
"url": "http://t.co/ospRRVboge",
"avatar": "http://pbs.twimg.com/profile_images/378800000016800237/3787f02f0e0e10a0a19d9b508abd6ce2_normal.png",
"followers_current": 38775,
"date_updated": "2013-11-15",
"follow_days": "774",
"started_followers": 544,
"growth_since": 38231,
"average_growth": "49",
"tomorrow": "38824",
"next_month": "40245",
"followers_yesterday": 37232,
"rank": "14934",
"followersperdate": {
    "date2013-11-15": 38775,
    "date2013-11-05": 37232,
    "date2013-11-04": 37126,
    "date2013-10-26": 36203,
    "date2013-10-10": 34384,
    "date2013-10-02": 33353,
    "date2013-09-18": 30870
},
"last_update": 1384679796
}