{"action":"opened","number":23,"pull_request":{"url":"https://api.github.com/repos/kbranigan/cJSON/pulls/23","id":48694776,"html_url":"https://github.com/kbranigan/cJSON/pull/23","diff_url":"https://github.com/kbranigan/cJSON/pull/23.diff","patch_url":"https://github.com/kbranigan/cJSON/pull/23.patch","issue_url":"https://api.github.com/repos/kbranigan/cJSON/issues/23","number":23,"state":"open","locked":false,"title":"Fix format problem with empty objects","user":{"login":"FSMaxB","id":4294942,"avatar_url":"https://avatars.githubusercontent.com/u/4294942?v=3","gravatar_id":"","url":"https://api.github.com/users/FSMaxB","html_url":"https://github.com/FSMaxB","followers_url":"https://api.github.com/users/FSMaxB/followers","following_url":"https://api.github.com/users/FSMaxB/following{/other_user}","gists_url":"https://api.github.com/users/FSMaxB/gists{/gist_id}","starred_url":"https://api.github.com/users/FSMaxB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FSMaxB/subscriptions","organizations_url":"https://api.github.com/users/FSMaxB/orgs","repos_url":"https://api.github.com/users/FSMaxB/repos","events_url":"https://api.github.com/users/FSMaxB/events{/privacy}","received_events_url":"https://api.github.com/users/FSMaxB/received_events","type":"User","site_admin":false},"body":"When printing empty objects, the closing curly brace was missing one\r\nindentation level.\r\n\r\nExample from the output of test_utils:\r\n\r\nBEFORE FIX:\r\n```json\r\n{\r\n\t\"foo\":\t\"bar\",\r\n\t\"child\":\t{\r\n\t\t\"grandchild\":\t{\r\n\t}\r\n\t}\r\n}\r\n```\r\n\r\nAFTER FIX:\r\n```json\r\n{\r\n\t\"foo\":\t\"bar\",\r\n\t\"child\":\t{\r\n\t\t\"grandchild\":\t{\r\n\t\t}\r\n\t}\r\n}\r\n```","created_at":"2015-10-26T01:48:14Z","updated_at":"2015-10-26T01:48:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kbranigan/cJSON/pulls/23/commits","review_comments_url":"https://api.github.com/repos/kbranigan/cJSON/pulls/23/comments","review_comment_url":"https://api.github.com/repos/kbranigan/cJSON/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kbranigan/cJSON/issues/23/comments","statuses_url":"https://api.github.com/repos/kbranigan/cJSON/statuses/b98792097313d1285c4388175d460ba4a3747e4f","head":{"label":"FSMaxB:format_fix","ref":"format_fix","sha":"b98792097313d1285c4388175d460ba4a3747e4f","user":{"login":"FSMaxB","id":4294942,"avatar_url":"https://avatars.githubusercontent.com/u/4294942?v=3","gravatar_id":"","url":"https://api.github.com/users/FSMaxB","html_url":"https://github.com/FSMaxB","followers_url":"https://api.github.com/users/FSMaxB/followers","following_url":"https://api.github.com/users/FSMaxB/following{/other_user}","gists_url":"https://api.github.com/users/FSMaxB/gists{/gist_id}","starred_url":"https://api.github.com/users/FSMaxB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FSMaxB/subscriptions","organizations_url":"https://api.github.com/users/FSMaxB/orgs","repos_url":"https://api.github.com/users/FSMaxB/repos","events_url":"https://api.github.com/users/FSMaxB/events{/privacy}","received_events_url":"https://api.github.com/users/FSMaxB/received_events","type":"User","site_admin":false},"repo":{"id":44196555,"name":"cJSON","full_name":"FSMaxB/cJSON","owner":{"login":"FSMaxB","id":4294942,"avatar_url":"https://avatars.githubusercontent.com/u/4294942?v=3","gravatar_id":"","url":"https://api.github.com/users/FSMaxB","html_url":"https://github.com/FSMaxB","followers_url":"https://api.github.com/users/FSMaxB/followers","following_url":"https://api.github.com/users/FSMaxB/following{/other_user}","gists_url":"https://api.github.com/users/FSMaxB/gists{/gist_id}","starred_url":"https://api.github.com/users/FSMaxB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FSMaxB/subscriptions","organizations_url":"https://api.github.com/users/FSMaxB/orgs","repos_url":"https://api.github.com/users/FSMaxB/repos","events_url":"https://api.github.com/users/FSMaxB/events{/privacy}","received_events_url":"https://api.github.com/users/FSMaxB/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/FSMaxB/cJSON","description":"I did not write this code, but I like it.","fork":true,"url":"https://api.github.com/repos/FSMaxB/cJSON","forks_url":"https://api.github.com/repos/FSMaxB/cJSON/forks","keys_url":"https://api.github.com/repos/FSMaxB/cJSON/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FSMaxB/cJSON/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FSMaxB/cJSON/teams","hooks_url":"https://api.github.com/repos/FSMaxB/cJSON/hooks","issue_events_url":"https://api.github.com/repos/FSMaxB/cJSON/issues/events{/number}","events_url":"https://api.github.com/repos/FSMaxB/cJSON/events","assignees_url":"https://api.github.com/repos/FSMaxB/cJSON/assignees{/user}","branches_url":"https://api.github.com/repos/FSMaxB/cJSON/branches{/branch}","tags_url":"https://api.github.com/repos/FSMaxB/cJSON/tags","blobs_url":"https://api.github.com/repos/FSMaxB/cJSON/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FSMaxB/cJSON/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FSMaxB/cJSON/git/refs{/sha}","trees_url":"https://api.github.com/repos/FSMaxB/cJSON/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FSMaxB/cJSON/statuses/{sha}","languages_url":"https://api.github.com/repos/FSMaxB/cJSON/languages","stargazers_url":"https://api.github.com/repos/FSMaxB/cJSON/stargazers","contributors_url":"https://api.github.com/repos/FSMaxB/cJSON/contributors","subscribers_url":"https://api.github.com/repos/FSMaxB/cJSON/subscribers","subscription_url":"https://api.github.com/repos/FSMaxB/cJSON/subscription","commits_url":"https://api.github.com/repos/FSMaxB/cJSON/commits{/sha}","git_commits_url":"https://api.github.com/repos/FSMaxB/cJSON/git/commits{/sha}","comments_url":"https://api.github.com/repos/FSMaxB/cJSON/comments{/number}","issue_comment_url":"https://api.github.com/repos/FSMaxB/cJSON/issues/comments{/number}","contents_url":"https://api.github.com/repos/FSMaxB/cJSON/contents/{+path}","compare_url":"https://api.github.com/repos/FSMaxB/cJSON/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FSMaxB/cJSON/merges","archive_url":"https://api.github.com/repos/FSMaxB/cJSON/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FSMaxB/cJSON/downloads","issues_url":"https://api.github.com/repos/FSMaxB/cJSON/issues{/number}","pulls_url":"https://api.github.com/repos/FSMaxB/cJSON/pulls{/number}","milestones_url":"https://api.github.com/repos/FSMaxB/cJSON/milestones{/number}","notifications_url":"https://api.github.com/repos/FSMaxB/cJSON/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FSMaxB/cJSON/labels{/name}","releases_url":"https://api.github.com/repos/FSMaxB/cJSON/releases{/id}","created_at":"2015-10-13T18:31:19Z","updated_at":"2015-10-13T18:31:20Z","pushed_at":"2015-10-26T01:47:15Z","git_url":"git://github.com/FSMaxB/cJSON.git","ssh_url":"git@github.com:FSMaxB/cJSON.git","clone_url":"https://github.com/FSMaxB/cJSON.git","svn_url":"https://github.com/FSMaxB/cJSON","homepage":"http://cjson.sourceforge.net/","size":180,"stargazers_count":0,"watchers_count":0,"language":"C","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":"kbranigan:master","ref":"master","sha":"f85b5fa2ca6228f3762fd1d49a04ce94836978b1","user":{"login":"kbranigan","id":17628,"avatar_url":"https://avatars.githubusercontent.com/u/17628?v=3","gravatar_id":"","url":"https://api.github.com/users/kbranigan","html_url":"https://github.com/kbranigan","followers_url":"https://api.github.com/users/kbranigan/followers","following_url":"https://api.github.com/users/kbranigan/following{/other_user}","gists_url":"https://api.github.com/users/kbranigan/gists{/gist_id}","starred_url":"https://api.github.com/users/kbranigan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbranigan/subscriptions","organizations_url":"https://api.github.com/users/kbranigan/orgs","repos_url":"https://api.github.com/users/kbranigan/repos","events_url":"https://api.github.com/users/kbranigan/events{/privacy}","received_events_url":"https://api.github.com/users/kbranigan/received_events","type":"User","site_admin":false},"repo":{"id":2246681,"name":"cJSON","full_name":"kbranigan/cJSON","owner":{"login":"kbranigan","id":17628,"avatar_url":"https://avatars.githubusercontent.com/u/17628?v=3","gravatar_id":"","url":"https://api.github.com/users/kbranigan","html_url":"https://github.com/kbranigan","followers_url":"https://api.github.com/users/kbranigan/followers","following_url":"https://api.github.com/users/kbranigan/following{/other_user}","gists_url":"https://api.github.com/users/kbranigan/gists{/gist_id}","starred_url":"https://api.github.com/users/kbranigan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbranigan/subscriptions","organizations_url":"https://api.github.com/users/kbranigan/orgs","repos_url":"https://api.github.com/users/kbranigan/repos","events_url":"https://api.github.com/users/kbranigan/events{/privacy}","received_events_url":"https://api.github.com/users/kbranigan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kbranigan/cJSON","description":"I did not write this code, but I like it.","fork":false,"url":"https://api.github.com/repos/kbranigan/cJSON","forks_url":"https://api.github.com/repos/kbranigan/cJSON/forks","keys_url":"https://api.github.com/repos/kbranigan/cJSON/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kbranigan/cJSON/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kbranigan/cJSON/teams","hooks_url":"https://api.github.com/repos/kbranigan/cJSON/hooks","issue_events_url":"https://api.github.com/repos/kbranigan/cJSON/issues/events{/number}","events_url":"https://api.github.com/repos/kbranigan/cJSON/events","assignees_url":"https://api.github.com/repos/kbranigan/cJSON/assignees{/user}","branches_url":"https://api.github.com/repos/kbranigan/cJSON/branches{/branch}","tags_url":"https://api.github.com/repos/kbranigan/cJSON/tags","blobs_url":"https://api.github.com/repos/kbranigan/cJSON/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kbranigan/cJSON/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kbranigan/cJSON/git/refs{/sha}","trees_url":"https://api.github.com/repos/kbranigan/cJSON/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kbranigan/cJSON/statuses/{sha}","languages_url":"https://api.github.com/repos/kbranigan/cJSON/languages","stargazers_url":"https://api.github.com/repos/kbranigan/cJSON/stargazers","contributors_url":"https://api.github.com/repos/kbranigan/cJSON/contributors","subscribers_url":"https://api.github.com/repos/kbranigan/cJSON/subscribers","subscription_url":"https://api.github.com/repos/kbranigan/cJSON/subscription","commits_url":"https://api.github.com/repos/kbranigan/cJSON/commits{/sha}","git_commits_url":"https://api.github.com/repos/kbranigan/cJSON/git/commits{/sha}","comments_url":"https://api.github.com/repos/kbranigan/cJSON/comments{/number}","issue_comment_url":"https://api.github.com/repos/kbranigan/cJSON/issues/comments{/number}","contents_url":"https://api.github.com/repos/kbranigan/cJSON/contents/{+path}","compare_url":"https://api.github.com/repos/kbranigan/cJSON/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kbranigan/cJSON/merges","archive_url":"https://api.github.com/repos/kbranigan/cJSON/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kbranigan/cJSON/downloads","issues_url":"https://api.github.com/repos/kbranigan/cJSON/issues{/number}","pulls_url":"https://api.github.com/repos/kbranigan/cJSON/pulls{/number}","milestones_url":"https://api.github.com/repos/kbranigan/cJSON/milestones{/number}","notifications_url":"https://api.github.com/repos/kbranigan/cJSON/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kbranigan/cJSON/labels{/name}","releases_url":"https://api.github.com/repos/kbranigan/cJSON/releases{/id}","created_at":"2011-08-22T04:39:40Z","updated_at":"2015-10-25T03:20:39Z","pushed_at":"2015-10-26T01:48:15Z","git_url":"git://github.com/kbranigan/cJSON.git","ssh_url":"git@github.com:kbranigan/cJSON.git","clone_url":"https://github.com/kbranigan/cJSON.git","svn_url":"https://github.com/kbranigan/cJSON","homepage":"http://cjson.sourceforge.net/","size":386,"stargazers_count":231,"watchers_count":231,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":151,"mirror_url":null,"open_issues_count":4,"forks":151,"open_issues":4,"watchers":231,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kbranigan/cJSON/pulls/23"},"html":{"href":"https://github.com/kbranigan/cJSON/pull/23"},"issue":{"href":"https://api.github.com/repos/kbranigan/cJSON/issues/23"},"comments":{"href":"https://api.github.com/repos/kbranigan/cJSON/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/kbranigan/cJSON/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/kbranigan/cJSON/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kbranigan/cJSON/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/kbranigan/cJSON/statuses/b98792097313d1285c4388175d460ba4a3747e4f"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}