{"action":"opened","number":6,"pull_request":{"url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/pulls/6","id":53770230,"html_url":"https://github.com/derekdowling/go-json-spec-handler/pull/6","diff_url":"https://github.com/derekdowling/go-json-spec-handler/pull/6.diff","patch_url":"https://github.com/derekdowling/go-json-spec-handler/pull/6.patch","issue_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/issues/6","number":6,"state":"open","locked":false,"title":"Wip better data parsing","user":{"login":"derekdowling","id":613964,"avatar_url":"https://avatars.githubusercontent.com/u/613964?v=3","gravatar_id":"","url":"https://api.github.com/users/derekdowling","html_url":"https://github.com/derekdowling","followers_url":"https://api.github.com/users/derekdowling/followers","following_url":"https://api.github.com/users/derekdowling/following{/other_user}","gists_url":"https://api.github.com/users/derekdowling/gists{/gist_id}","starred_url":"https://api.github.com/users/derekdowling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekdowling/subscriptions","organizations_url":"https://api.github.com/users/derekdowling/orgs","repos_url":"https://api.github.com/users/derekdowling/repos","events_url":"https://api.github.com/users/derekdowling/events{/privacy}","received_events_url":"https://api.github.com/users/derekdowling/received_events","type":"User","site_admin":false},"body":"- Changes \"Response\" object to be \"JSON\" which is still a top level JSON API document.\r\n- Merge Error and ErrorList, which makes parsing/managing errors simpler\r\n\r\nThe major idea here is to leverage the default JSON response object more heavily. This is less useful for jsh, but allows greater degrees of error handling in jsc (where we might have a JSON error returned) and to make the use of these tools more consistent. The idea here is also to reduce a layer of abstraction between the sendable types and the response itself as more reliance on Links, Relationships, and Meta start to manifest.","created_at":"2015-12-15T22:13:29Z","updated_at":"2015-12-15T22:13:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/pulls/6/commits","review_comments_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/pulls/6/comments","review_comment_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/pulls/comments{/number}","comments_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/issues/6/comments","statuses_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/statuses/57533e7cd09355895d62e8b11961686a4c1bc4b9","head":{"label":"derekdowling:wip-better-data-parsing","ref":"wip-better-data-parsing","sha":"57533e7cd09355895d62e8b11961686a4c1bc4b9","user":{"login":"derekdowling","id":613964,"avatar_url":"https://avatars.githubusercontent.com/u/613964?v=3","gravatar_id":"","url":"https://api.github.com/users/derekdowling","html_url":"https://github.com/derekdowling","followers_url":"https://api.github.com/users/derekdowling/followers","following_url":"https://api.github.com/users/derekdowling/following{/other_user}","gists_url":"https://api.github.com/users/derekdowling/gists{/gist_id}","starred_url":"https://api.github.com/users/derekdowling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekdowling/subscriptions","organizations_url":"https://api.github.com/users/derekdowling/orgs","repos_url":"https://api.github.com/users/derekdowling/repos","events_url":"https://api.github.com/users/derekdowling/events{/privacy}","received_events_url":"https://api.github.com/users/derekdowling/received_events","type":"User","site_admin":false},"repo":{"id":45999453,"name":"go-json-spec-handler","full_name":"derekdowling/go-json-spec-handler","owner":{"login":"derekdowling","id":613964,"avatar_url":"https://avatars.githubusercontent.com/u/613964?v=3","gravatar_id":"","url":"https://api.github.com/users/derekdowling","html_url":"https://github.com/derekdowling","followers_url":"https://api.github.com/users/derekdowling/followers","following_url":"https://api.github.com/users/derekdowling/following{/other_user}","gists_url":"https://api.github.com/users/derekdowling/gists{/gist_id}","starred_url":"https://api.github.com/users/derekdowling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekdowling/subscriptions","organizations_url":"https://api.github.com/users/derekdowling/orgs","repos_url":"https://api.github.com/users/derekdowling/repos","events_url":"https://api.github.com/users/derekdowling/events{/privacy}","received_events_url":"https://api.github.com/users/derekdowling/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/derekdowling/go-json-spec-handler","description":"Simple JSON API Spec Compatibility in Golang","fork":false,"url":"https://api.github.com/repos/derekdowling/go-json-spec-handler","forks_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/forks","keys_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/teams","hooks_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/hooks","issue_events_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/issues/events{/number}","events_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/events","assignees_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/assignees{/user}","branches_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/branches{/branch}","tags_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/tags","blobs_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/git/refs{/sha}","trees_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/statuses/{sha}","languages_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/languages","stargazers_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/stargazers","contributors_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/contributors","subscribers_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/subscribers","subscription_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/subscription","commits_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/commits{/sha}","git_commits_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/git/commits{/sha}","comments_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/comments{/number}","issue_comment_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/issues/comments{/number}","contents_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/contents/{+path}","compare_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/merges","archive_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/downloads","issues_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/issues{/number}","pulls_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/pulls{/number}","milestones_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/milestones{/number}","notifications_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/labels{/name}","releases_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/releases{/id}","created_at":"2015-11-11T17:55:47Z","updated_at":"2015-12-15T21:21:52Z","pushed_at":"2015-12-15T22:09:21Z","git_url":"git://github.com/derekdowling/go-json-spec-handler.git","ssh_url":"git@github.com:derekdowling/go-json-spec-handler.git","clone_url":"https://github.com/derekdowling/go-json-spec-handler.git","svn_url":"https://github.com/derekdowling/go-json-spec-handler","homepage":"","size":1298,"stargazers_count":5,"watchers_count":5,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":5,"default_branch":"master"}},"base":{"label":"derekdowling:master","ref":"master","sha":"9d6c365b86ae4961733d060ba9210af0e1faecce","user":{"login":"derekdowling","id":613964,"avatar_url":"https://avatars.githubusercontent.com/u/613964?v=3","gravatar_id":"","url":"https://api.github.com/users/derekdowling","html_url":"https://github.com/derekdowling","followers_url":"https://api.github.com/users/derekdowling/followers","following_url":"https://api.github.com/users/derekdowling/following{/other_user}","gists_url":"https://api.github.com/users/derekdowling/gists{/gist_id}","starred_url":"https://api.github.com/users/derekdowling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekdowling/subscriptions","organizations_url":"https://api.github.com/users/derekdowling/orgs","repos_url":"https://api.github.com/users/derekdowling/repos","events_url":"https://api.github.com/users/derekdowling/events{/privacy}","received_events_url":"https://api.github.com/users/derekdowling/received_events","type":"User","site_admin":false},"repo":{"id":45999453,"name":"go-json-spec-handler","full_name":"derekdowling/go-json-spec-handler","owner":{"login":"derekdowling","id":613964,"avatar_url":"https://avatars.githubusercontent.com/u/613964?v=3","gravatar_id":"","url":"https://api.github.com/users/derekdowling","html_url":"https://github.com/derekdowling","followers_url":"https://api.github.com/users/derekdowling/followers","following_url":"https://api.github.com/users/derekdowling/following{/other_user}","gists_url":"https://api.github.com/users/derekdowling/gists{/gist_id}","starred_url":"https://api.github.com/users/derekdowling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekdowling/subscriptions","organizations_url":"https://api.github.com/users/derekdowling/orgs","repos_url":"https://api.github.com/users/derekdowling/repos","events_url":"https://api.github.com/users/derekdowling/events{/privacy}","received_events_url":"https://api.github.com/users/derekdowling/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/derekdowling/go-json-spec-handler","description":"Simple JSON API Spec Compatibility in Golang","fork":false,"url":"https://api.github.com/repos/derekdowling/go-json-spec-handler","forks_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/forks","keys_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/teams","hooks_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/hooks","issue_events_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/issues/events{/number}","events_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/events","assignees_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/assignees{/user}","branches_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/branches{/branch}","tags_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/tags","blobs_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/git/refs{/sha}","trees_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/statuses/{sha}","languages_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/languages","stargazers_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/stargazers","contributors_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/contributors","subscribers_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/subscribers","subscription_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/subscription","commits_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/commits{/sha}","git_commits_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/git/commits{/sha}","comments_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/comments{/number}","issue_comment_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/issues/comments{/number}","contents_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/contents/{+path}","compare_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/merges","archive_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/downloads","issues_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/issues{/number}","pulls_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/pulls{/number}","milestones_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/milestones{/number}","notifications_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/labels{/name}","releases_url":"https://api.github.com/repos/derekdowling/go-json-spec-handler/releases{/id}","created_at":"2015-11-11T17:55:47Z","updated_at":"2015-12-15T21:21:52Z","pushed_at":"2015-12-15T22:09:21Z","git_url":"git://github.com/derekdowling/go-json-spec-handler.git","ssh_url":"git@github.com:derekdowling/go-json-spec-handler.git","clone_url":"https://github.com/derekdowling/go-json-spec-handler.git","svn_url":"https://github.com/derekdowling/go-json-spec-handler","homepage":"","size":1298,"stargazers_count":5,"watchers_count":5,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/derekdowling/go-json-spec-handler/pulls/6"},"html":{"href":"https://github.com/derekdowling/go-json-spec-handler/pull/6"},"issue":{"href":"https://api.github.com/repos/derekdowling/go-json-spec-handler/issues/6"},"comments":{"href":"https://api.github.com/repos/derekdowling/go-json-spec-handler/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/derekdowling/go-json-spec-handler/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/derekdowling/go-json-spec-handler/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/derekdowling/go-json-spec-handler/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/derekdowling/go-json-spec-handler/statuses/57533e7cd09355895d62e8b11961686a4c1bc4b9"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":353,"deletions":261,"changed_files":18}}