{"action":"opened","number":504,"pull_request":{"url":"https://api.github.com/repos/circe/circe/pulls/504","id":97542692,"html_url":"https://github.com/circe/circe/pull/504","diff_url":"https://github.com/circe/circe/pull/504.diff","patch_url":"https://github.com/circe/circe/pull/504.patch","issue_url":"https://api.github.com/repos/circe/circe/issues/504","number":504,"state":"open","locked":false,"title":"Provide Auto trait","user":{"login":"mxl","id":1078685,"avatar_url":"https://avatars.githubusercontent.com/u/1078685?v=3","gravatar_id":"","url":"https://api.github.com/users/mxl","html_url":"https://github.com/mxl","followers_url":"https://api.github.com/users/mxl/followers","following_url":"https://api.github.com/users/mxl/following{/other_user}","gists_url":"https://api.github.com/users/mxl/gists{/gist_id}","starred_url":"https://api.github.com/users/mxl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mxl/subscriptions","organizations_url":"https://api.github.com/users/mxl/orgs","repos_url":"https://api.github.com/users/mxl/repos","events_url":"https://api.github.com/users/mxl/events{/privacy}","received_events_url":"https://api.github.com/users/mxl/received_events","type":"User","site_admin":false},"body":"Sometimes it's more useful to bring `io.circe.generic.auto._` implicits into scope by not importing them but by extending package object, object or class from a trait.\r\nFor example:\r\n```scala\r\npackage app\r\n\r\nimport io.circe.generic.Auto\r\n\r\npackage object api extends Auto {\r\n}\r\n```\r\nmakes implicits for automatic encoders and decoders generation visible for all code in package `app.api` and after that there is no need to import `io.circe.generic.auto._` in each source file in this package.","created_at":"2016-12-12T12:16:45Z","updated_at":"2016-12-12T12:16:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/circe/circe/pulls/504/commits","review_comments_url":"https://api.github.com/repos/circe/circe/pulls/504/comments","review_comment_url":"https://api.github.com/repos/circe/circe/pulls/comments{/number}","comments_url":"https://api.github.com/repos/circe/circe/issues/504/comments","statuses_url":"https://api.github.com/repos/circe/circe/statuses/cd9413659d3c55f578f987ed4e535bb9902649f8","head":{"label":"mxl:traits","ref":"traits","sha":"cd9413659d3c55f578f987ed4e535bb9902649f8","user":{"login":"mxl","id":1078685,"avatar_url":"https://avatars.githubusercontent.com/u/1078685?v=3","gravatar_id":"","url":"https://api.github.com/users/mxl","html_url":"https://github.com/mxl","followers_url":"https://api.github.com/users/mxl/followers","following_url":"https://api.github.com/users/mxl/following{/other_user}","gists_url":"https://api.github.com/users/mxl/gists{/gist_id}","starred_url":"https://api.github.com/users/mxl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mxl/subscriptions","organizations_url":"https://api.github.com/users/mxl/orgs","repos_url":"https://api.github.com/users/mxl/repos","events_url":"https://api.github.com/users/mxl/events{/privacy}","received_events_url":"https://api.github.com/users/mxl/received_events","type":"User","site_admin":false},"repo":{"id":76206238,"name":"circe","full_name":"mxl/circe","owner":{"login":"mxl","id":1078685,"avatar_url":"https://avatars.githubusercontent.com/u/1078685?v=3","gravatar_id":"","url":"https://api.github.com/users/mxl","html_url":"https://github.com/mxl","followers_url":"https://api.github.com/users/mxl/followers","following_url":"https://api.github.com/users/mxl/following{/other_user}","gists_url":"https://api.github.com/users/mxl/gists{/gist_id}","starred_url":"https://api.github.com/users/mxl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mxl/subscriptions","organizations_url":"https://api.github.com/users/mxl/orgs","repos_url":"https://api.github.com/users/mxl/repos","events_url":"https://api.github.com/users/mxl/events{/privacy}","received_events_url":"https://api.github.com/users/mxl/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mxl/circe","description":"Yet another JSON library for Scala","fork":true,"url":"https://api.github.com/repos/mxl/circe","forks_url":"https://api.github.com/repos/mxl/circe/forks","keys_url":"https://api.github.com/repos/mxl/circe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mxl/circe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mxl/circe/teams","hooks_url":"https://api.github.com/repos/mxl/circe/hooks","issue_events_url":"https://api.github.com/repos/mxl/circe/issues/events{/number}","events_url":"https://api.github.com/repos/mxl/circe/events","assignees_url":"https://api.github.com/repos/mxl/circe/assignees{/user}","branches_url":"https://api.github.com/repos/mxl/circe/branches{/branch}","tags_url":"https://api.github.com/repos/mxl/circe/tags","blobs_url":"https://api.github.com/repos/mxl/circe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mxl/circe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mxl/circe/git/refs{/sha}","trees_url":"https://api.github.com/repos/mxl/circe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mxl/circe/statuses/{sha}","languages_url":"https://api.github.com/repos/mxl/circe/languages","stargazers_url":"https://api.github.com/repos/mxl/circe/stargazers","contributors_url":"https://api.github.com/repos/mxl/circe/contributors","subscribers_url":"https://api.github.com/repos/mxl/circe/subscribers","subscription_url":"https://api.github.com/repos/mxl/circe/subscription","commits_url":"https://api.github.com/repos/mxl/circe/commits{/sha}","git_commits_url":"https://api.github.com/repos/mxl/circe/git/commits{/sha}","comments_url":"https://api.github.com/repos/mxl/circe/comments{/number}","issue_comment_url":"https://api.github.com/repos/mxl/circe/issues/comments{/number}","contents_url":"https://api.github.com/repos/mxl/circe/contents/{+path}","compare_url":"https://api.github.com/repos/mxl/circe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mxl/circe/merges","archive_url":"https://api.github.com/repos/mxl/circe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mxl/circe/downloads","issues_url":"https://api.github.com/repos/mxl/circe/issues{/number}","pulls_url":"https://api.github.com/repos/mxl/circe/pulls{/number}","milestones_url":"https://api.github.com/repos/mxl/circe/milestones{/number}","notifications_url":"https://api.github.com/repos/mxl/circe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mxl/circe/labels{/name}","releases_url":"https://api.github.com/repos/mxl/circe/releases{/id}","deployments_url":"https://api.github.com/repos/mxl/circe/deployments","created_at":"2016-12-11T23:19:59Z","updated_at":"2016-12-11T23:20:00Z","pushed_at":"2016-12-12T12:09:12Z","git_url":"git://github.com/mxl/circe.git","ssh_url":"git@github.com:mxl/circe.git","clone_url":"https://github.com/mxl/circe.git","svn_url":"https://github.com/mxl/circe","homepage":"https://circe.github.io/circe/","size":5072,"stargazers_count":0,"watchers_count":0,"language":"Scala","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":"circe:master","ref":"master","sha":"a53fab4ccbe1d334f86882535ce9f73f9f3760ba","user":{"login":"circe","id":23644473,"avatar_url":"https://avatars.githubusercontent.com/u/23644473?v=3","gravatar_id":"","url":"https://api.github.com/users/circe","html_url":"https://github.com/circe","followers_url":"https://api.github.com/users/circe/followers","following_url":"https://api.github.com/users/circe/following{/other_user}","gists_url":"https://api.github.com/users/circe/gists{/gist_id}","starred_url":"https://api.github.com/users/circe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/circe/subscriptions","organizations_url":"https://api.github.com/users/circe/orgs","repos_url":"https://api.github.com/users/circe/repos","events_url":"https://api.github.com/users/circe/events{/privacy}","received_events_url":"https://api.github.com/users/circe/received_events","type":"Organization","site_admin":false},"repo":{"id":40011080,"name":"circe","full_name":"circe/circe","owner":{"login":"circe","id":23644473,"avatar_url":"https://avatars.githubusercontent.com/u/23644473?v=3","gravatar_id":"","url":"https://api.github.com/users/circe","html_url":"https://github.com/circe","followers_url":"https://api.github.com/users/circe/followers","following_url":"https://api.github.com/users/circe/following{/other_user}","gists_url":"https://api.github.com/users/circe/gists{/gist_id}","starred_url":"https://api.github.com/users/circe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/circe/subscriptions","organizations_url":"https://api.github.com/users/circe/orgs","repos_url":"https://api.github.com/users/circe/repos","events_url":"https://api.github.com/users/circe/events{/privacy}","received_events_url":"https://api.github.com/users/circe/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/circe/circe","description":"Yet another JSON library for Scala","fork":false,"url":"https://api.github.com/repos/circe/circe","forks_url":"https://api.github.com/repos/circe/circe/forks","keys_url":"https://api.github.com/repos/circe/circe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/circe/circe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/circe/circe/teams","hooks_url":"https://api.github.com/repos/circe/circe/hooks","issue_events_url":"https://api.github.com/repos/circe/circe/issues/events{/number}","events_url":"https://api.github.com/repos/circe/circe/events","assignees_url":"https://api.github.com/repos/circe/circe/assignees{/user}","branches_url":"https://api.github.com/repos/circe/circe/branches{/branch}","tags_url":"https://api.github.com/repos/circe/circe/tags","blobs_url":"https://api.github.com/repos/circe/circe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/circe/circe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/circe/circe/git/refs{/sha}","trees_url":"https://api.github.com/repos/circe/circe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/circe/circe/statuses/{sha}","languages_url":"https://api.github.com/repos/circe/circe/languages","stargazers_url":"https://api.github.com/repos/circe/circe/stargazers","contributors_url":"https://api.github.com/repos/circe/circe/contributors","subscribers_url":"https://api.github.com/repos/circe/circe/subscribers","subscription_url":"https://api.github.com/repos/circe/circe/subscription","commits_url":"https://api.github.com/repos/circe/circe/commits{/sha}","git_commits_url":"https://api.github.com/repos/circe/circe/git/commits{/sha}","comments_url":"https://api.github.com/repos/circe/circe/comments{/number}","issue_comment_url":"https://api.github.com/repos/circe/circe/issues/comments{/number}","contents_url":"https://api.github.com/repos/circe/circe/contents/{+path}","compare_url":"https://api.github.com/repos/circe/circe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/circe/circe/merges","archive_url":"https://api.github.com/repos/circe/circe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/circe/circe/downloads","issues_url":"https://api.github.com/repos/circe/circe/issues{/number}","pulls_url":"https://api.github.com/repos/circe/circe/pulls{/number}","milestones_url":"https://api.github.com/repos/circe/circe/milestones{/number}","notifications_url":"https://api.github.com/repos/circe/circe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/circe/circe/labels{/name}","releases_url":"https://api.github.com/repos/circe/circe/releases{/id}","deployments_url":"https://api.github.com/repos/circe/circe/deployments","created_at":"2015-07-31T15:12:09Z","updated_at":"2016-12-12T08:57:03Z","pushed_at":"2016-12-12T09:26:25Z","git_url":"git://github.com/circe/circe.git","ssh_url":"git@github.com:circe/circe.git","clone_url":"https://github.com/circe/circe.git","svn_url":"https://github.com/circe/circe","homepage":"https://circe.github.io/circe/","size":5082,"stargazers_count":660,"watchers_count":660,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":118,"mirror_url":null,"open_issues_count":59,"forks":118,"open_issues":59,"watchers":660,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/circe/circe/pulls/504"},"html":{"href":"https://github.com/circe/circe/pull/504"},"issue":{"href":"https://api.github.com/repos/circe/circe/issues/504"},"comments":{"href":"https://api.github.com/repos/circe/circe/issues/504/comments"},"review_comments":{"href":"https://api.github.com/repos/circe/circe/pulls/504/comments"},"review_comment":{"href":"https://api.github.com/repos/circe/circe/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/circe/circe/pulls/504/commits"},"statuses":{"href":"https://api.github.com/repos/circe/circe/statuses/cd9413659d3c55f578f987ed4e535bb9902649f8"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":26,"deletions":4,"changed_files":4}}
{"actor":{"display_login":"mxl"}}