var s = {"val":[{"month":1,"num":235654},{"month":2,"num":1234321},
{"month":3,"num":948546},{"month":4,"num":987461},
{"month":5,"num":987654},{"month":6,"num":8746113},
{"month":7,"num":6481567},{"month":8,"num":9874324},
{"month":9,"num":6547214},{"month":10,"num":8541354},
{"month":11,"num":559563},{"month":12,"num":756424}]}
然后这样
var json = eval('('+s+')')
json = json.val
var arr = []
for(var i=0i<json.lengthi++)
arr[json[i].month] = json[i].num
然后arr就是你想要的数组
在IPHONE里注册必须要信用卡信息的 建议你到ITUNES里注册 可以选择无信用卡 很方便的 你自己弄下吧 别说你没下载ITUNES 这是使用IPHONE不可缺少了 传东西都要靠他的 除非你越狱