{"action":"opened","number":39,"pull_request":{"url":"https://api.github.com/repos/uber/cassette/pulls/39","id":37081113,"html_url":"https://github.com/uber/cassette/pull/39","diff_url":"https://github.com/uber/cassette/pull/39.diff","patch_url":"https://github.com/uber/cassette/pull/39.patch","issue_url":"https://api.github.com/repos/uber/cassette/issues/39","number":39,"state":"open","locked":false,"title":"Added indent to JsonEncoder","user":{"login":"twolfson","id":902488,"avatar_url":"https://avatars.githubusercontent.com/u/902488?v=3","gravatar_id":"","url":"https://api.github.com/users/twolfson","html_url":"https://github.com/twolfson","followers_url":"https://api.github.com/users/twolfson/followers","following_url":"https://api.github.com/users/twolfson/following{/other_user}","gists_url":"https://api.github.com/users/twolfson/gists{/gist_id}","starred_url":"https://api.github.com/users/twolfson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twolfson/subscriptions","organizations_url":"https://api.github.com/users/twolfson/orgs","repos_url":"https://api.github.com/users/twolfson/repos","events_url":"https://api.github.com/users/twolfson/events{/privacy}","received_events_url":"https://api.github.com/users/twolfson/received_events","type":"User","site_admin":false},"body":"As discussed in #38, it is easier for developers to debug requests when the JSON is beautified. This PR remedies that by adding the `indent` parameter to `json.dumps`. In this PR:\r\n\r\n- Added indent to JsonEncoder\r\n- Regenerated test fixtures with new identation parameter\r\n- Fixes #38","created_at":"2015-06-06T00:34:27Z","updated_at":"2015-06-06T00:34:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/uber/cassette/pulls/39/commits","review_comments_url":"https://api.github.com/repos/uber/cassette/pulls/39/comments","review_comment_url":"https://api.github.com/repos/uber/cassette/pulls/comments{/number}","comments_url":"https://api.github.com/repos/uber/cassette/issues/39/comments","statuses_url":"https://api.github.com/repos/uber/cassette/statuses/609667173be1ec72fc24f161ccf707b4d110b0ff","head":{"label":"underdogio:dev/add.json.indent.sqwished","ref":"dev/add.json.indent.sqwished","sha":"609667173be1ec72fc24f161ccf707b4d110b0ff","user":{"login":"underdogio","id":7798128,"avatar_url":"https://avatars.githubusercontent.com/u/7798128?v=3","gravatar_id":"","url":"https://api.github.com/users/underdogio","html_url":"https://github.com/underdogio","followers_url":"https://api.github.com/users/underdogio/followers","following_url":"https://api.github.com/users/underdogio/following{/other_user}","gists_url":"https://api.github.com/users/underdogio/gists{/gist_id}","starred_url":"https://api.github.com/users/underdogio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/underdogio/subscriptions","organizations_url":"https://api.github.com/users/underdogio/orgs","repos_url":"https://api.github.com/users/underdogio/repos","events_url":"https://api.github.com/users/underdogio/events{/privacy}","received_events_url":"https://api.github.com/users/underdogio/received_events","type":"Organization","site_admin":false},"repo":{"id":30734689,"name":"cassette","full_name":"underdogio/cassette","owner":{"login":"underdogio","id":7798128,"avatar_url":"https://avatars.githubusercontent.com/u/7798128?v=3","gravatar_id":"","url":"https://api.github.com/users/underdogio","html_url":"https://github.com/underdogio","followers_url":"https://api.github.com/users/underdogio/followers","following_url":"https://api.github.com/users/underdogio/following{/other_user}","gists_url":"https://api.github.com/users/underdogio/gists{/gist_id}","starred_url":"https://api.github.com/users/underdogio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/underdogio/subscriptions","organizations_url":"https://api.github.com/users/underdogio/orgs","repos_url":"https://api.github.com/users/underdogio/repos","events_url":"https://api.github.com/users/underdogio/events{/privacy}","received_events_url":"https://api.github.com/users/underdogio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/underdogio/cassette","description":"Store and replay HTTP requests made in your Python app","fork":true,"url":"https://api.github.com/repos/underdogio/cassette","forks_url":"https://api.github.com/repos/underdogio/cassette/forks","keys_url":"https://api.github.com/repos/underdogio/cassette/keys{/key_id}","collaborators_url":"https://api.github.com/repos/underdogio/cassette/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/underdogio/cassette/teams","hooks_url":"https://api.github.com/repos/underdogio/cassette/hooks","issue_events_url":"https://api.github.com/repos/underdogio/cassette/issues/events{/number}","events_url":"https://api.github.com/repos/underdogio/cassette/events","assignees_url":"https://api.github.com/repos/underdogio/cassette/assignees{/user}","branches_url":"https://api.github.com/repos/underdogio/cassette/branches{/branch}","tags_url":"https://api.github.com/repos/underdogio/cassette/tags","blobs_url":"https://api.github.com/repos/underdogio/cassette/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/underdogio/cassette/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/underdogio/cassette/git/refs{/sha}","trees_url":"https://api.github.com/repos/underdogio/cassette/git/trees{/sha}","statuses_url":"https://api.github.com/repos/underdogio/cassette/statuses/{sha}","languages_url":"https://api.github.com/repos/underdogio/cassette/languages","stargazers_url":"https://api.github.com/repos/underdogio/cassette/stargazers","contributors_url":"https://api.github.com/repos/underdogio/cassette/contributors","subscribers_url":"https://api.github.com/repos/underdogio/cassette/subscribers","subscription_url":"https://api.github.com/repos/underdogio/cassette/subscription","commits_url":"https://api.github.com/repos/underdogio/cassette/commits{/sha}","git_commits_url":"https://api.github.com/repos/underdogio/cassette/git/commits{/sha}","comments_url":"https://api.github.com/repos/underdogio/cassette/comments{/number}","issue_comment_url":"https://api.github.com/repos/underdogio/cassette/issues/comments{/number}","contents_url":"https://api.github.com/repos/underdogio/cassette/contents/{+path}","compare_url":"https://api.github.com/repos/underdogio/cassette/compare/{base}...{head}","merges_url":"https://api.github.com/repos/underdogio/cassette/merges","archive_url":"https://api.github.com/repos/underdogio/cassette/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/underdogio/cassette/downloads","issues_url":"https://api.github.com/repos/underdogio/cassette/issues{/number}","pulls_url":"https://api.github.com/repos/underdogio/cassette/pulls{/number}","milestones_url":"https://api.github.com/repos/underdogio/cassette/milestones{/number}","notifications_url":"https://api.github.com/repos/underdogio/cassette/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/underdogio/cassette/labels{/name}","releases_url":"https://api.github.com/repos/underdogio/cassette/releases{/id}","created_at":"2015-02-13T01:32:12Z","updated_at":"2015-02-13T01:32:13Z","pushed_at":"2015-06-06T00:32:37Z","git_url":"git://github.com/underdogio/cassette.git","ssh_url":"git@github.com:underdogio/cassette.git","clone_url":"https://github.com/underdogio/cassette.git","svn_url":"https://github.com/underdogio/cassette","homepage":"http://cassette.readthedocs.org/","size":431,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"uber:master","ref":"master","sha":"255d97d7242140e8fe602a7c13039583a4d62e21","user":{"login":"uber","id":538264,"avatar_url":"https://avatars.githubusercontent.com/u/538264?v=3","gravatar_id":"","url":"https://api.github.com/users/uber","html_url":"https://github.com/uber","followers_url":"https://api.github.com/users/uber/followers","following_url":"https://api.github.com/users/uber/following{/other_user}","gists_url":"https://api.github.com/users/uber/gists{/gist_id}","starred_url":"https://api.github.com/users/uber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uber/subscriptions","organizations_url":"https://api.github.com/users/uber/orgs","repos_url":"https://api.github.com/users/uber/repos","events_url":"https://api.github.com/users/uber/events{/privacy}","received_events_url":"https://api.github.com/users/uber/received_events","type":"Organization","site_admin":false},"repo":{"id":7950943,"name":"cassette","full_name":"uber/cassette","owner":{"login":"uber","id":538264,"avatar_url":"https://avatars.githubusercontent.com/u/538264?v=3","gravatar_id":"","url":"https://api.github.com/users/uber","html_url":"https://github.com/uber","followers_url":"https://api.github.com/users/uber/followers","following_url":"https://api.github.com/users/uber/following{/other_user}","gists_url":"https://api.github.com/users/uber/gists{/gist_id}","starred_url":"https://api.github.com/users/uber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uber/subscriptions","organizations_url":"https://api.github.com/users/uber/orgs","repos_url":"https://api.github.com/users/uber/repos","events_url":"https://api.github.com/users/uber/events{/privacy}","received_events_url":"https://api.github.com/users/uber/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/uber/cassette","description":"Store and replay HTTP requests made in your Python app","fork":false,"url":"https://api.github.com/repos/uber/cassette","forks_url":"https://api.github.com/repos/uber/cassette/forks","keys_url":"https://api.github.com/repos/uber/cassette/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uber/cassette/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uber/cassette/teams","hooks_url":"https://api.github.com/repos/uber/cassette/hooks","issue_events_url":"https://api.github.com/repos/uber/cassette/issues/events{/number}","events_url":"https://api.github.com/repos/uber/cassette/events","assignees_url":"https://api.github.com/repos/uber/cassette/assignees{/user}","branches_url":"https://api.github.com/repos/uber/cassette/branches{/branch}","tags_url":"https://api.github.com/repos/uber/cassette/tags","blobs_url":"https://api.github.com/repos/uber/cassette/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uber/cassette/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uber/cassette/git/refs{/sha}","trees_url":"https://api.github.com/repos/uber/cassette/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uber/cassette/statuses/{sha}","languages_url":"https://api.github.com/repos/uber/cassette/languages","stargazers_url":"https://api.github.com/repos/uber/cassette/stargazers","contributors_url":"https://api.github.com/repos/uber/cassette/contributors","subscribers_url":"https://api.github.com/repos/uber/cassette/subscribers","subscription_url":"https://api.github.com/repos/uber/cassette/subscription","commits_url":"https://api.github.com/repos/uber/cassette/commits{/sha}","git_commits_url":"https://api.github.com/repos/uber/cassette/git/commits{/sha}","comments_url":"https://api.github.com/repos/uber/cassette/comments{/number}","issue_comment_url":"https://api.github.com/repos/uber/cassette/issues/comments{/number}","contents_url":"https://api.github.com/repos/uber/cassette/contents/{+path}","compare_url":"https://api.github.com/repos/uber/cassette/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uber/cassette/merges","archive_url":"https://api.github.com/repos/uber/cassette/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uber/cassette/downloads","issues_url":"https://api.github.com/repos/uber/cassette/issues{/number}","pulls_url":"https://api.github.com/repos/uber/cassette/pulls{/number}","milestones_url":"https://api.github.com/repos/uber/cassette/milestones{/number}","notifications_url":"https://api.github.com/repos/uber/cassette/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uber/cassette/labels{/name}","releases_url":"https://api.github.com/repos/uber/cassette/releases{/id}","created_at":"2013-02-01T03:21:13Z","updated_at":"2015-04-29T12:00:00Z","pushed_at":"2015-04-06T19:25:09Z","git_url":"git://github.com/uber/cassette.git","ssh_url":"git@github.com:uber/cassette.git","clone_url":"https://github.com/uber/cassette.git","svn_url":"https://github.com/uber/cassette","homepage":"http://cassette.readthedocs.org/","size":956,"stargazers_count":58,"watchers_count":58,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":10,"mirror_url":null,"open_issues_count":12,"forks":10,"open_issues":12,"watchers":58,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/uber/cassette/pulls/39"},"html":{"href":"https://github.com/uber/cassette/pull/39"},"issue":{"href":"https://api.github.com/repos/uber/cassette/issues/39"},"comments":{"href":"https://api.github.com/repos/uber/cassette/issues/39/comments"},"review_comments":{"href":"https://api.github.com/repos/uber/cassette/pulls/39/comments"},"review_comment":{"href":"https://api.github.com/repos/uber/cassette/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/uber/cassette/pulls/39/commits"},"statuses":{"href":"https://api.github.com/repos/uber/cassette/statuses/609667173be1ec72fc24f161ccf707b4d110b0ff"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":26,"deletions":2,"changed_files":2}}