{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/clbanning/anyxml/pulls/1","id":63405590,"html_url":"https://github.com/clbanning/anyxml/pull/1","diff_url":"https://github.com/clbanning/anyxml/pull/1.diff","patch_url":"https://github.com/clbanning/anyxml/pull/1.patch","issue_url":"https://api.github.com/repos/clbanning/anyxml/issues/1","number":1,"state":"open","locked":false,"title":"Added handling for xml escape characters in string values","user":{"login":"chrismalek","id":9403,"avatar_url":"https://avatars.githubusercontent.com/u/9403?v=3","gravatar_id":"","url":"https://api.github.com/users/chrismalek","html_url":"https://github.com/chrismalek","followers_url":"https://api.github.com/users/chrismalek/followers","following_url":"https://api.github.com/users/chrismalek/following{/other_user}","gists_url":"https://api.github.com/users/chrismalek/gists{/gist_id}","starred_url":"https://api.github.com/users/chrismalek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrismalek/subscriptions","organizations_url":"https://api.github.com/users/chrismalek/orgs","repos_url":"https://api.github.com/users/chrismalek/repos","events_url":"https://api.github.com/users/chrismalek/events{/privacy}","received_events_url":"https://api.github.com/users/chrismalek/received_events","type":"User","site_admin":false},"body":"I was using this library to convert JSON to XML. I was getting some JSON back from an API that had & in the values which chokes XML processors as & needs to be escaped.\r\n\r\nI added some changes to replace some of those strings that needs to be replaced for valid XML.","created_at":"2016-03-18T17:01:33Z","updated_at":"2016-03-18T17:01:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/clbanning/anyxml/pulls/1/commits","review_comments_url":"https://api.github.com/repos/clbanning/anyxml/pulls/1/comments","review_comment_url":"https://api.github.com/repos/clbanning/anyxml/pulls/comments{/number}","comments_url":"https://api.github.com/repos/clbanning/anyxml/issues/1/comments","statuses_url":"https://api.github.com/repos/clbanning/anyxml/statuses/7cecd5172fc031ef36cf8498e27f917a5e3ed8f3","head":{"label":"chrismalek:master","ref":"master","sha":"7cecd5172fc031ef36cf8498e27f917a5e3ed8f3","user":{"login":"chrismalek","id":9403,"avatar_url":"https://avatars.githubusercontent.com/u/9403?v=3","gravatar_id":"","url":"https://api.github.com/users/chrismalek","html_url":"https://github.com/chrismalek","followers_url":"https://api.github.com/users/chrismalek/followers","following_url":"https://api.github.com/users/chrismalek/following{/other_user}","gists_url":"https://api.github.com/users/chrismalek/gists{/gist_id}","starred_url":"https://api.github.com/users/chrismalek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrismalek/subscriptions","organizations_url":"https://api.github.com/users/chrismalek/orgs","repos_url":"https://api.github.com/users/chrismalek/repos","events_url":"https://api.github.com/users/chrismalek/events{/privacy}","received_events_url":"https://api.github.com/users/chrismalek/received_events","type":"User","site_admin":false},"repo":{"id":54214791,"name":"anyxml","full_name":"chrismalek/anyxml","owner":{"login":"chrismalek","id":9403,"avatar_url":"https://avatars.githubusercontent.com/u/9403?v=3","gravatar_id":"","url":"https://api.github.com/users/chrismalek","html_url":"https://github.com/chrismalek","followers_url":"https://api.github.com/users/chrismalek/followers","following_url":"https://api.github.com/users/chrismalek/following{/other_user}","gists_url":"https://api.github.com/users/chrismalek/gists{/gist_id}","starred_url":"https://api.github.com/users/chrismalek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrismalek/subscriptions","organizations_url":"https://api.github.com/users/chrismalek/orgs","repos_url":"https://api.github.com/users/chrismalek/repos","events_url":"https://api.github.com/users/chrismalek/events{/privacy}","received_events_url":"https://api.github.com/users/chrismalek/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chrismalek/anyxml","description":"wraps xml.Marshal() with github.com/clbanning/mxj general XML marshaling capability","fork":true,"url":"https://api.github.com/repos/chrismalek/anyxml","forks_url":"https://api.github.com/repos/chrismalek/anyxml/forks","keys_url":"https://api.github.com/repos/chrismalek/anyxml/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chrismalek/anyxml/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chrismalek/anyxml/teams","hooks_url":"https://api.github.com/repos/chrismalek/anyxml/hooks","issue_events_url":"https://api.github.com/repos/chrismalek/anyxml/issues/events{/number}","events_url":"https://api.github.com/repos/chrismalek/anyxml/events","assignees_url":"https://api.github.com/repos/chrismalek/anyxml/assignees{/user}","branches_url":"https://api.github.com/repos/chrismalek/anyxml/branches{/branch}","tags_url":"https://api.github.com/repos/chrismalek/anyxml/tags","blobs_url":"https://api.github.com/repos/chrismalek/anyxml/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chrismalek/anyxml/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chrismalek/anyxml/git/refs{/sha}","trees_url":"https://api.github.com/repos/chrismalek/anyxml/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chrismalek/anyxml/statuses/{sha}","languages_url":"https://api.github.com/repos/chrismalek/anyxml/languages","stargazers_url":"https://api.github.com/repos/chrismalek/anyxml/stargazers","contributors_url":"https://api.github.com/repos/chrismalek/anyxml/contributors","subscribers_url":"https://api.github.com/repos/chrismalek/anyxml/subscribers","subscription_url":"https://api.github.com/repos/chrismalek/anyxml/subscription","commits_url":"https://api.github.com/repos/chrismalek/anyxml/commits{/sha}","git_commits_url":"https://api.github.com/repos/chrismalek/anyxml/git/commits{/sha}","comments_url":"https://api.github.com/repos/chrismalek/anyxml/comments{/number}","issue_comment_url":"https://api.github.com/repos/chrismalek/anyxml/issues/comments{/number}","contents_url":"https://api.github.com/repos/chrismalek/anyxml/contents/{+path}","compare_url":"https://api.github.com/repos/chrismalek/anyxml/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chrismalek/anyxml/merges","archive_url":"https://api.github.com/repos/chrismalek/anyxml/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chrismalek/anyxml/downloads","issues_url":"https://api.github.com/repos/chrismalek/anyxml/issues{/number}","pulls_url":"https://api.github.com/repos/chrismalek/anyxml/pulls{/number}","milestones_url":"https://api.github.com/repos/chrismalek/anyxml/milestones{/number}","notifications_url":"https://api.github.com/repos/chrismalek/anyxml/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chrismalek/anyxml/labels{/name}","releases_url":"https://api.github.com/repos/chrismalek/anyxml/releases{/id}","deployments_url":"https://api.github.com/repos/chrismalek/anyxml/deployments","created_at":"2016-03-18T16:12:01Z","updated_at":"2016-03-18T16:12:01Z","pushed_at":"2016-03-18T16:57:53Z","git_url":"git://github.com/chrismalek/anyxml.git","ssh_url":"git@github.com:chrismalek/anyxml.git","clone_url":"https://github.com/chrismalek/anyxml.git","svn_url":"https://github.com/chrismalek/anyxml","homepage":null,"size":19,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"clbanning:master","ref":"master","sha":"f08ac1da62c9c3c2d7725a57af4eef1f3c2e15fe","user":{"login":"clbanning","id":426304,"avatar_url":"https://avatars.githubusercontent.com/u/426304?v=3","gravatar_id":"","url":"https://api.github.com/users/clbanning","html_url":"https://github.com/clbanning","followers_url":"https://api.github.com/users/clbanning/followers","following_url":"https://api.github.com/users/clbanning/following{/other_user}","gists_url":"https://api.github.com/users/clbanning/gists{/gist_id}","starred_url":"https://api.github.com/users/clbanning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clbanning/subscriptions","organizations_url":"https://api.github.com/users/clbanning/orgs","repos_url":"https://api.github.com/users/clbanning/repos","events_url":"https://api.github.com/users/clbanning/events{/privacy}","received_events_url":"https://api.github.com/users/clbanning/received_events","type":"User","site_admin":false},"repo":{"id":22549185,"name":"anyxml","full_name":"clbanning/anyxml","owner":{"login":"clbanning","id":426304,"avatar_url":"https://avatars.githubusercontent.com/u/426304?v=3","gravatar_id":"","url":"https://api.github.com/users/clbanning","html_url":"https://github.com/clbanning","followers_url":"https://api.github.com/users/clbanning/followers","following_url":"https://api.github.com/users/clbanning/following{/other_user}","gists_url":"https://api.github.com/users/clbanning/gists{/gist_id}","starred_url":"https://api.github.com/users/clbanning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clbanning/subscriptions","organizations_url":"https://api.github.com/users/clbanning/orgs","repos_url":"https://api.github.com/users/clbanning/repos","events_url":"https://api.github.com/users/clbanning/events{/privacy}","received_events_url":"https://api.github.com/users/clbanning/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/clbanning/anyxml","description":"wraps xml.Marshal() with github.com/clbanning/mxj general XML marshaling capability","fork":false,"url":"https://api.github.com/repos/clbanning/anyxml","forks_url":"https://api.github.com/repos/clbanning/anyxml/forks","keys_url":"https://api.github.com/repos/clbanning/anyxml/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clbanning/anyxml/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clbanning/anyxml/teams","hooks_url":"https://api.github.com/repos/clbanning/anyxml/hooks","issue_events_url":"https://api.github.com/repos/clbanning/anyxml/issues/events{/number}","events_url":"https://api.github.com/repos/clbanning/anyxml/events","assignees_url":"https://api.github.com/repos/clbanning/anyxml/assignees{/user}","branches_url":"https://api.github.com/repos/clbanning/anyxml/branches{/branch}","tags_url":"https://api.github.com/repos/clbanning/anyxml/tags","blobs_url":"https://api.github.com/repos/clbanning/anyxml/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clbanning/anyxml/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clbanning/anyxml/git/refs{/sha}","trees_url":"https://api.github.com/repos/clbanning/anyxml/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clbanning/anyxml/statuses/{sha}","languages_url":"https://api.github.com/repos/clbanning/anyxml/languages","stargazers_url":"https://api.github.com/repos/clbanning/anyxml/stargazers","contributors_url":"https://api.github.com/repos/clbanning/anyxml/contributors","subscribers_url":"https://api.github.com/repos/clbanning/anyxml/subscribers","subscription_url":"https://api.github.com/repos/clbanning/anyxml/subscription","commits_url":"https://api.github.com/repos/clbanning/anyxml/commits{/sha}","git_commits_url":"https://api.github.com/repos/clbanning/anyxml/git/commits{/sha}","comments_url":"https://api.github.com/repos/clbanning/anyxml/comments{/number}","issue_comment_url":"https://api.github.com/repos/clbanning/anyxml/issues/comments{/number}","contents_url":"https://api.github.com/repos/clbanning/anyxml/contents/{+path}","compare_url":"https://api.github.com/repos/clbanning/anyxml/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clbanning/anyxml/merges","archive_url":"https://api.github.com/repos/clbanning/anyxml/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clbanning/anyxml/downloads","issues_url":"https://api.github.com/repos/clbanning/anyxml/issues{/number}","pulls_url":"https://api.github.com/repos/clbanning/anyxml/pulls{/number}","milestones_url":"https://api.github.com/repos/clbanning/anyxml/milestones{/number}","notifications_url":"https://api.github.com/repos/clbanning/anyxml/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clbanning/anyxml/labels{/name}","releases_url":"https://api.github.com/repos/clbanning/anyxml/releases{/id}","deployments_url":"https://api.github.com/repos/clbanning/anyxml/deployments","created_at":"2014-08-02T15:49:07Z","updated_at":"2015-07-30T10:35:09Z","pushed_at":"2016-03-18T17:01:33Z","git_url":"git://github.com/clbanning/anyxml.git","ssh_url":"git@github.com:clbanning/anyxml.git","clone_url":"https://github.com/clbanning/anyxml.git","svn_url":"https://github.com/clbanning/anyxml","homepage":null,"size":288,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/clbanning/anyxml/pulls/1"},"html":{"href":"https://github.com/clbanning/anyxml/pull/1"},"issue":{"href":"https://api.github.com/repos/clbanning/anyxml/issues/1"},"comments":{"href":"https://api.github.com/repos/clbanning/anyxml/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/clbanning/anyxml/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/clbanning/anyxml/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/clbanning/anyxml/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/clbanning/anyxml/statuses/7cecd5172fc031ef36cf8498e27f917a5e3ed8f3"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":27,"deletions":4,"changed_files":1}}