{"action":"closed","number":250,"pull_request":{"url":"https://api.github.com/repos/node-webot/wechat/pulls/250","id":86865376,"html_url":"https://github.com/node-webot/wechat/pull/250","diff_url":"https://github.com/node-webot/wechat/pull/250.diff","patch_url":"https://github.com/node-webot/wechat/pull/250.patch","issue_url":"https://api.github.com/repos/node-webot/wechat/issues/250","number":250,"state":"closed","locked":false,"title":"xml2js解析出来的对象转换成直接可访问的对象","user":{"login":"feifeiiiiiiiiiii","id":3310967,"avatar_url":"https://avatars.githubusercontent.com/u/3310967?v=3","gravatar_id":"","url":"https://api.github.com/users/feifeiiiiiiiiiii","html_url":"https://github.com/feifeiiiiiiiiiii","followers_url":"https://api.github.com/users/feifeiiiiiiiiiii/followers","following_url":"https://api.github.com/users/feifeiiiiiiiiiii/following{/other_user}","gists_url":"https://api.github.com/users/feifeiiiiiiiiiii/gists{/gist_id}","starred_url":"https://api.github.com/users/feifeiiiiiiiiiii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feifeiiiiiiiiiii/subscriptions","organizations_url":"https://api.github.com/users/feifeiiiiiiiiiii/orgs","repos_url":"https://api.github.com/users/feifeiiiiiiiiiii/repos","events_url":"https://api.github.com/users/feifeiiiiiiiiiii/events{/privacy}","received_events_url":"https://api.github.com/users/feifeiiiiiiiiiii/received_events","type":"User","site_admin":false},"body":"xml2js解析出来的对象转换成直接可访问的对象应该加上如果不是对象的情况,虽然微信的xml数据没有这种情况，个人觉得还是应该处理下比较好","created_at":"2016-09-27T05:43:59Z","updated_at":"2016-09-28T12:57:08Z","closed_at":"2016-09-28T12:57:08Z","merged_at":"2016-09-28T12:57:08Z","merge_commit_sha":"613d3bc9d05049c8c2c9a285d9c2068f1a9c516b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/node-webot/wechat/pulls/250/commits","review_comments_url":"https://api.github.com/repos/node-webot/wechat/pulls/250/comments","review_comment_url":"https://api.github.com/repos/node-webot/wechat/pulls/comments{/number}","comments_url":"https://api.github.com/repos/node-webot/wechat/issues/250/comments","statuses_url":"https://api.github.com/repos/node-webot/wechat/statuses/890c36cde71a9754ee0f507fe863413514e2d5d3","head":{"label":"feifeiiiiiiiiiii:master","ref":"master","sha":"890c36cde71a9754ee0f507fe863413514e2d5d3","user":{"login":"feifeiiiiiiiiiii","id":3310967,"avatar_url":"https://avatars.githubusercontent.com/u/3310967?v=3","gravatar_id":"","url":"https://api.github.com/users/feifeiiiiiiiiiii","html_url":"https://github.com/feifeiiiiiiiiiii","followers_url":"https://api.github.com/users/feifeiiiiiiiiiii/followers","following_url":"https://api.github.com/users/feifeiiiiiiiiiii/following{/other_user}","gists_url":"https://api.github.com/users/feifeiiiiiiiiiii/gists{/gist_id}","starred_url":"https://api.github.com/users/feifeiiiiiiiiiii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feifeiiiiiiiiiii/subscriptions","organizations_url":"https://api.github.com/users/feifeiiiiiiiiiii/orgs","repos_url":"https://api.github.com/users/feifeiiiiiiiiiii/repos","events_url":"https://api.github.com/users/feifeiiiiiiiiiii/events{/privacy}","received_events_url":"https://api.github.com/users/feifeiiiiiiiiiii/received_events","type":"User","site_admin":false},"repo":{"id":69318918,"name":"wechat","full_name":"feifeiiiiiiiiiii/wechat","owner":{"login":"feifeiiiiiiiiiii","id":3310967,"avatar_url":"https://avatars.githubusercontent.com/u/3310967?v=3","gravatar_id":"","url":"https://api.github.com/users/feifeiiiiiiiiiii","html_url":"https://github.com/feifeiiiiiiiiiii","followers_url":"https://api.github.com/users/feifeiiiiiiiiiii/followers","following_url":"https://api.github.com/users/feifeiiiiiiiiiii/following{/other_user}","gists_url":"https://api.github.com/users/feifeiiiiiiiiiii/gists{/gist_id}","starred_url":"https://api.github.com/users/feifeiiiiiiiiiii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feifeiiiiiiiiiii/subscriptions","organizations_url":"https://api.github.com/users/feifeiiiiiiiiiii/orgs","repos_url":"https://api.github.com/users/feifeiiiiiiiiiii/repos","events_url":"https://api.github.com/users/feifeiiiiiiiiiii/events{/privacy}","received_events_url":"https://api.github.com/users/feifeiiiiiiiiiii/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/feifeiiiiiiiiiii/wechat","description":"微信公共平台消息接口服务中间件","fork":true,"url":"https://api.github.com/repos/feifeiiiiiiiiiii/wechat","forks_url":"https://api.github.com/repos/feifeiiiiiiiiiii/wechat/forks","keys_url":"https://api.github.com/repos/feifeiiiiiiiiiii/wechat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/feifeiiiiiiiiiii/wechat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/feifeiiiiiiiiiii/wechat/teams","hooks_url":"https://api.github.com/repos/feifeiiiiiiiiiii/wechat/hooks","issue_events_url":"https://api.github.com/repos/feifeiiiiiiiiiii/wechat/issues/events{/number}","events_url":"https://api.github.com/repos/feifeiiiiiiiiiii/wechat/events","assignees_url":"https://api.github.com/repos/feifeiiiiiiiiiii/wechat/assignees{/user}","branches_url":"https://api.github.com/repos/feifeiiiiiiiiiii/wechat/branches{/branch}","tags_url":"https://api.github.com/repos/feifeiiiiiiiiiii/wechat/tags","blobs_url":"https://api.github.com/repos/feifeiiiiiiiiiii/wechat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/feifeiiiiiiiiiii/wechat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/feifeiiiiiiiiiii/wechat/git/refs{/sha}","trees_url":"https://api.github.com/repos/feifeiiiiiiiiiii/wechat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/feifeiiiiiiiiiii/wechat/statuses/{sha}","languages_url":"https://api.github.com/repos/feifeiiiiiiiiiii/wechat/languages","stargazers_url":"https://api.github.com/repos/feifeiiiiiiiiiii/wechat/stargazers","contributors_url":"https://api.github.com/repos/feifeiiiiiiiiiii/wechat/contributors","subscribers_url":"https://api.github.com/repos/feifeiiiiiiiiiii/wechat/subscribers","subscription_url":"https://api.github.com/repos/feifeiiiiiiiiiii/wechat/subscription","commits_url":"https://api.github.com/repos/feifeiiiiiiiiiii/wechat/commits{/sha}","git_commits_url":"https://api.github.com/repos/feifeiiiiiiiiiii/wechat/git/commits{/sha}","comments_url":"https://api.github.com/repos/feifeiiiiiiiiiii/wechat/comments{/number}","issue_comment_url":"https://api.github.com/repos/feifeiiiiiiiiiii/wechat/issues/comments{/number}","contents_url":"https://api.github.com/repos/feifeiiiiiiiiiii/wechat/contents/{+path}","compare_url":"https://api.github.com/repos/feifeiiiiiiiiiii/wechat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/feifeiiiiiiiiiii/wechat/merges","archive_url":"https://api.github.com/repos/feifeiiiiiiiiiii/wechat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/feifeiiiiiiiiiii/wechat/downloads","issues_url":"https://api.github.com/repos/feifeiiiiiiiiiii/wechat/issues{/number}","pulls_url":"https://api.github.com/repos/feifeiiiiiiiiiii/wechat/pulls{/number}","milestones_url":"https://api.github.com/repos/feifeiiiiiiiiiii/wechat/milestones{/number}","notifications_url":"https://api.github.com/repos/feifeiiiiiiiiiii/wechat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/feifeiiiiiiiiiii/wechat/labels{/name}","releases_url":"https://api.github.com/repos/feifeiiiiiiiiiii/wechat/releases{/id}","deployments_url":"https://api.github.com/repos/feifeiiiiiiiiiii/wechat/deployments","created_at":"2016-09-27T04:22:05Z","updated_at":"2016-09-27T04:22:06Z","pushed_at":"2016-09-28T03:25:56Z","git_url":"git://github.com/feifeiiiiiiiiiii/wechat.git","ssh_url":"git@github.com:feifeiiiiiiiiiii/wechat.git","clone_url":"https://github.com/feifeiiiiiiiiiii/wechat.git","svn_url":"https://github.com/feifeiiiiiiiiiii/wechat","homepage":"","size":3463,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"node-webot:master","ref":"master","sha":"471ca31082223de5ccf864578a00c781bfad02a6","user":{"login":"node-webot","id":4167113,"avatar_url":"https://avatars.githubusercontent.com/u/4167113?v=3","gravatar_id":"","url":"https://api.github.com/users/node-webot","html_url":"https://github.com/node-webot","followers_url":"https://api.github.com/users/node-webot/followers","following_url":"https://api.github.com/users/node-webot/following{/other_user}","gists_url":"https://api.github.com/users/node-webot/gists{/gist_id}","starred_url":"https://api.github.com/users/node-webot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/node-webot/subscriptions","organizations_url":"https://api.github.com/users/node-webot/orgs","repos_url":"https://api.github.com/users/node-webot/repos","events_url":"https://api.github.com/users/node-webot/events{/privacy}","received_events_url":"https://api.github.com/users/node-webot/received_events","type":"Organization","site_admin":false},"repo":{"id":7579124,"name":"wechat","full_name":"node-webot/wechat","owner":{"login":"node-webot","id":4167113,"avatar_url":"https://avatars.githubusercontent.com/u/4167113?v=3","gravatar_id":"","url":"https://api.github.com/users/node-webot","html_url":"https://github.com/node-webot","followers_url":"https://api.github.com/users/node-webot/followers","following_url":"https://api.github.com/users/node-webot/following{/other_user}","gists_url":"https://api.github.com/users/node-webot/gists{/gist_id}","starred_url":"https://api.github.com/users/node-webot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/node-webot/subscriptions","organizations_url":"https://api.github.com/users/node-webot/orgs","repos_url":"https://api.github.com/users/node-webot/repos","events_url":"https://api.github.com/users/node-webot/events{/privacy}","received_events_url":"https://api.github.com/users/node-webot/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/node-webot/wechat","description":"微信公共平台消息接口服务中间件","fork":false,"url":"https://api.github.com/repos/node-webot/wechat","forks_url":"https://api.github.com/repos/node-webot/wechat/forks","keys_url":"https://api.github.com/repos/node-webot/wechat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/node-webot/wechat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/node-webot/wechat/teams","hooks_url":"https://api.github.com/repos/node-webot/wechat/hooks","issue_events_url":"https://api.github.com/repos/node-webot/wechat/issues/events{/number}","events_url":"https://api.github.com/repos/node-webot/wechat/events","assignees_url":"https://api.github.com/repos/node-webot/wechat/assignees{/user}","branches_url":"https://api.github.com/repos/node-webot/wechat/branches{/branch}","tags_url":"https://api.github.com/repos/node-webot/wechat/tags","blobs_url":"https://api.github.com/repos/node-webot/wechat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/node-webot/wechat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/node-webot/wechat/git/refs{/sha}","trees_url":"https://api.github.com/repos/node-webot/wechat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/node-webot/wechat/statuses/{sha}","languages_url":"https://api.github.com/repos/node-webot/wechat/languages","stargazers_url":"https://api.github.com/repos/node-webot/wechat/stargazers","contributors_url":"https://api.github.com/repos/node-webot/wechat/contributors","subscribers_url":"https://api.github.com/repos/node-webot/wechat/subscribers","subscription_url":"https://api.github.com/repos/node-webot/wechat/subscription","commits_url":"https://api.github.com/repos/node-webot/wechat/commits{/sha}","git_commits_url":"https://api.github.com/repos/node-webot/wechat/git/commits{/sha}","comments_url":"https://api.github.com/repos/node-webot/wechat/comments{/number}","issue_comment_url":"https://api.github.com/repos/node-webot/wechat/issues/comments{/number}","contents_url":"https://api.github.com/repos/node-webot/wechat/contents/{+path}","compare_url":"https://api.github.com/repos/node-webot/wechat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/node-webot/wechat/merges","archive_url":"https://api.github.com/repos/node-webot/wechat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/node-webot/wechat/downloads","issues_url":"https://api.github.com/repos/node-webot/wechat/issues{/number}","pulls_url":"https://api.github.com/repos/node-webot/wechat/pulls{/number}","milestones_url":"https://api.github.com/repos/node-webot/wechat/milestones{/number}","notifications_url":"https://api.github.com/repos/node-webot/wechat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/node-webot/wechat/labels{/name}","releases_url":"https://api.github.com/repos/node-webot/wechat/releases{/id}","deployments_url":"https://api.github.com/repos/node-webot/wechat/deployments","created_at":"2013-01-12T18:53:32Z","updated_at":"2016-09-28T09:09:12Z","pushed_at":"2016-09-28T12:57:08Z","git_url":"git://github.com/node-webot/wechat.git","ssh_url":"git@github.com:node-webot/wechat.git","clone_url":"https://github.com/node-webot/wechat.git","svn_url":"https://github.com/node-webot/wechat","homepage":"","size":3764,"stargazers_count":3251,"watchers_count":3251,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":926,"mirror_url":null,"open_issues_count":10,"forks":926,"open_issues":10,"watchers":3251,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/node-webot/wechat/pulls/250"},"html":{"href":"https://github.com/node-webot/wechat/pull/250"},"issue":{"href":"https://api.github.com/repos/node-webot/wechat/issues/250"},"comments":{"href":"https://api.github.com/repos/node-webot/wechat/issues/250/comments"},"review_comments":{"href":"https://api.github.com/repos/node-webot/wechat/pulls/250/comments"},"review_comment":{"href":"https://api.github.com/repos/node-webot/wechat/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/node-webot/wechat/pulls/250/commits"},"statuses":{"href":"https://api.github.com/repos/node-webot/wechat/statuses/890c36cde71a9754ee0f507fe863413514e2d5d3"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"JacksonTian","id":327019,"avatar_url":"https://avatars.githubusercontent.com/u/327019?v=3","gravatar_id":"","url":"https://api.github.com/users/JacksonTian","html_url":"https://github.com/JacksonTian","followers_url":"https://api.github.com/users/JacksonTian/followers","following_url":"https://api.github.com/users/JacksonTian/following{/other_user}","gists_url":"https://api.github.com/users/JacksonTian/gists{/gist_id}","starred_url":"https://api.github.com/users/JacksonTian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JacksonTian/subscriptions","organizations_url":"https://api.github.com/users/JacksonTian/orgs","repos_url":"https://api.github.com/users/JacksonTian/repos","events_url":"https://api.github.com/users/JacksonTian/events{/privacy}","received_events_url":"https://api.github.com/users/JacksonTian/received_events","type":"User","site_admin":false},"comments":7,"review_comments":0,"commits":2,"additions":24,"deletions":1,"changed_files":2}}
{"actor":{"display_login":"JacksonTian"}}