62,047
社区成员
发帖
与我相关
我的任务
分享
[
[users, [
{
"id":3050636930,
"idstr":"3050636930",
"screen_name":"脑残对话",
"name":"脑残对话",
"province":"61",
"city":"1",
"location":"陕西 西安",
"description":"我不是",
"url":"http:\/\/naocanduihua.com",
"profile_image_url":"http:\/\/tp3.sinaimg.cn\/3050636930\/50\/5652856840\/1",
"profile_url":"naocanduihua",
"domain":"naocanduihua",
"weihao":"","gender":"m",
"followers_count":68795,
"friends_count":12,
"statuses_count":585,
"favourites_count":0,
"created_at":"Sat Oct 27 09:50:47 +0800 2012",
"following":true,
"allow_all_act_msg":true,
"geo_enabled":false,
"verified":false,
"verified_type":-1,
"remark":"",
"status_id":3548573037311300,
"allow_all_comment":true,
"avatar_large":"http:\/\/tp3.sinaimg.cn\/3050636930\/180\/5652856840\/1",
"verified_reason":"",
"follow_me":false,
"online_status":0,
"bi_followers_count":3,
"lang":"zh-cn","star":0,
"mbtype":0,"mbrank":0,
"block_word":0
},
...
...
]
]
var datas = {users:[{你那一砣}]};
var id = datas.users[0].id;
//上面定义的是JS对象,json中users必须用双引号括起
或者用正则
或者自定义对象,反序列化