{"action":"created","comment":{"url":"https://api.github.com/repos/hkellaway/Gloss/pulls/comments/76116380","id":76116380,"diff_hunk":"@@ -241,7 +241,7 @@ public func <~~ (key: String, json: JSON) -> [URL]? {\n /**\n Encode custom operator.\n */\n-infix operator ~~> { associativity left precedence 150 }\n+infix operator ~~> : MultiplicationPrecedence","path":"Sources/Operators.swift","position":14,"original_position":14,"commit_id":"f14bac826a004ae358518cc2d6b8b7402bec945e","original_commit_id":"f14bac826a004ae358518cc2d6b8b7402bec945e","user":{"login":"marcopompei","id":16154,"avatar_url":"https://avatars.githubusercontent.com/u/16154?v=3","gravatar_id":"","url":"https://api.github.com/users/marcopompei","html_url":"https://github.com/marcopompei","followers_url":"https://api.github.com/users/marcopompei/followers","following_url":"https://api.github.com/users/marcopompei/following{/other_user}","gists_url":"https://api.github.com/users/marcopompei/gists{/gist_id}","starred_url":"https://api.github.com/users/marcopompei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcopompei/subscriptions","organizations_url":"https://api.github.com/users/marcopompei/orgs","repos_url":"https://api.github.com/users/marcopompei/repos","events_url":"https://api.github.com/users/marcopompei/events{/privacy}","received_events_url":"https://api.github.com/users/marcopompei/received_events","type":"User","site_admin":false},"body":"Yeah, you are right, it would be `AdditivePrecedence` to keep the same.\r\n\r\nI believe it makes little difference, I think `CastingPrecedence` is more expressive. \r\nWe aren't supposed to be being mixed with math operators anyway, and we make it clear to anyone reading that we need to have precedence over casting and expressions like `let id = \"id\" <~~ json as Int?` work without trying to cast `json`.","created_at":"2016-08-24T18:51:26Z","updated_at":"2016-08-24T18:51:26Z","html_url":"https://github.com/hkellaway/Gloss/pull/204#discussion_r76116380","pull_request_url":"https://api.github.com/repos/hkellaway/Gloss/pulls/204","_links":{"self":{"href":"https://api.github.com/repos/hkellaway/Gloss/pulls/comments/76116380"},"html":{"href":"https://github.com/hkellaway/Gloss/pull/204#discussion_r76116380"},"pull_request":{"href":"https://api.github.com/repos/hkellaway/Gloss/pulls/204"}}},"pull_request":{"url":"https://api.github.com/repos/hkellaway/Gloss/pulls/204","id":82583246,"html_url":"https://github.com/hkellaway/Gloss/pull/204","diff_url":"https://github.com/hkellaway/Gloss/pull/204.diff","patch_url":"https://github.com/hkellaway/Gloss/pull/204.patch","issue_url":"https://api.github.com/repos/hkellaway/Gloss/issues/204","number":204,"state":"open","locked":false,"title":"Update Swift syntax for Xcode 8 Beta 6.","user":{"login":"marcopompei","id":16154,"avatar_url":"https://avatars.githubusercontent.com/u/16154?v=3","gravatar_id":"","url":"https://api.github.com/users/marcopompei","html_url":"https://github.com/marcopompei","followers_url":"https://api.github.com/users/marcopompei/followers","following_url":"https://api.github.com/users/marcopompei/following{/other_user}","gists_url":"https://api.github.com/users/marcopompei/gists{/gist_id}","starred_url":"https://api.github.com/users/marcopompei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcopompei/subscriptions","organizations_url":"https://api.github.com/users/marcopompei/orgs","repos_url":"https://api.github.com/users/marcopompei/repos","events_url":"https://api.github.com/users/marcopompei/events{/privacy}","received_events_url":"https://api.github.com/users/marcopompei/received_events","type":"User","site_admin":false},"body":"The biggest change was the JSON type changing from `[String: AnyObject]` to `[String: Any]`.\r\nI believe that is the best approach for the change on the way `id` gets imported from Objective-C.\r\n\r\nI also had to rewrite `KeyPathTests.testNestedKeyPathToJSON`.","created_at":"2016-08-24T17:21:43Z","updated_at":"2016-08-24T18:51:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f9c4983db73951e0fb27ab5d7d4c0744420507c7","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/hkellaway/Gloss/pulls/204/commits","review_comments_url":"https://api.github.com/repos/hkellaway/Gloss/pulls/204/comments","review_comment_url":"https://api.github.com/repos/hkellaway/Gloss/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hkellaway/Gloss/issues/204/comments","statuses_url":"https://api.github.com/repos/hkellaway/Gloss/statuses/f14bac826a004ae358518cc2d6b8b7402bec945e","head":{"label":"marcopompei:swift_3.0","ref":"swift_3.0","sha":"f14bac826a004ae358518cc2d6b8b7402bec945e","user":{"login":"marcopompei","id":16154,"avatar_url":"https://avatars.githubusercontent.com/u/16154?v=3","gravatar_id":"","url":"https://api.github.com/users/marcopompei","html_url":"https://github.com/marcopompei","followers_url":"https://api.github.com/users/marcopompei/followers","following_url":"https://api.github.com/users/marcopompei/following{/other_user}","gists_url":"https://api.github.com/users/marcopompei/gists{/gist_id}","starred_url":"https://api.github.com/users/marcopompei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcopompei/subscriptions","organizations_url":"https://api.github.com/users/marcopompei/orgs","repos_url":"https://api.github.com/users/marcopompei/repos","events_url":"https://api.github.com/users/marcopompei/events{/privacy}","received_events_url":"https://api.github.com/users/marcopompei/received_events","type":"User","site_admin":false},"repo":{"id":62074170,"name":"Gloss","full_name":"marcopompei/Gloss","owner":{"login":"marcopompei","id":16154,"avatar_url":"https://avatars.githubusercontent.com/u/16154?v=3","gravatar_id":"","url":"https://api.github.com/users/marcopompei","html_url":"https://github.com/marcopompei","followers_url":"https://api.github.com/users/marcopompei/followers","following_url":"https://api.github.com/users/marcopompei/following{/other_user}","gists_url":"https://api.github.com/users/marcopompei/gists{/gist_id}","starred_url":"https://api.github.com/users/marcopompei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcopompei/subscriptions","organizations_url":"https://api.github.com/users/marcopompei/orgs","repos_url":"https://api.github.com/users/marcopompei/repos","events_url":"https://api.github.com/users/marcopompei/events{/privacy}","received_events_url":"https://api.github.com/users/marcopompei/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/marcopompei/Gloss","description":"A shiny JSON parsing library in Swift :sparkles:","fork":true,"url":"https://api.github.com/repos/marcopompei/Gloss","forks_url":"https://api.github.com/repos/marcopompei/Gloss/forks","keys_url":"https://api.github.com/repos/marcopompei/Gloss/keys{/key_id}","collaborators_url":"https://api.github.com/repos/marcopompei/Gloss/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/marcopompei/Gloss/teams","hooks_url":"https://api.github.com/repos/marcopompei/Gloss/hooks","issue_events_url":"https://api.github.com/repos/marcopompei/Gloss/issues/events{/number}","events_url":"https://api.github.com/repos/marcopompei/Gloss/events","assignees_url":"https://api.github.com/repos/marcopompei/Gloss/assignees{/user}","branches_url":"https://api.github.com/repos/marcopompei/Gloss/branches{/branch}","tags_url":"https://api.github.com/repos/marcopompei/Gloss/tags","blobs_url":"https://api.github.com/repos/marcopompei/Gloss/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/marcopompei/Gloss/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/marcopompei/Gloss/git/refs{/sha}","trees_url":"https://api.github.com/repos/marcopompei/Gloss/git/trees{/sha}","statuses_url":"https://api.github.com/repos/marcopompei/Gloss/statuses/{sha}","languages_url":"https://api.github.com/repos/marcopompei/Gloss/languages","stargazers_url":"https://api.github.com/repos/marcopompei/Gloss/stargazers","contributors_url":"https://api.github.com/repos/marcopompei/Gloss/contributors","subscribers_url":"https://api.github.com/repos/marcopompei/Gloss/subscribers","subscription_url":"https://api.github.com/repos/marcopompei/Gloss/subscription","commits_url":"https://api.github.com/repos/marcopompei/Gloss/commits{/sha}","git_commits_url":"https://api.github.com/repos/marcopompei/Gloss/git/commits{/sha}","comments_url":"https://api.github.com/repos/marcopompei/Gloss/comments{/number}","issue_comment_url":"https://api.github.com/repos/marcopompei/Gloss/issues/comments{/number}","contents_url":"https://api.github.com/repos/marcopompei/Gloss/contents/{+path}","compare_url":"https://api.github.com/repos/marcopompei/Gloss/compare/{base}...{head}","merges_url":"https://api.github.com/repos/marcopompei/Gloss/merges","archive_url":"https://api.github.com/repos/marcopompei/Gloss/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/marcopompei/Gloss/downloads","issues_url":"https://api.github.com/repos/marcopompei/Gloss/issues{/number}","pulls_url":"https://api.github.com/repos/marcopompei/Gloss/pulls{/number}","milestones_url":"https://api.github.com/repos/marcopompei/Gloss/milestones{/number}","notifications_url":"https://api.github.com/repos/marcopompei/Gloss/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/marcopompei/Gloss/labels{/name}","releases_url":"https://api.github.com/repos/marcopompei/Gloss/releases{/id}","deployments_url":"https://api.github.com/repos/marcopompei/Gloss/deployments","created_at":"2016-06-27T17:19:06Z","updated_at":"2016-06-27T17:19:07Z","pushed_at":"2016-08-24T17:18:10Z","git_url":"git://github.com/marcopompei/Gloss.git","ssh_url":"git@github.com:marcopompei/Gloss.git","clone_url":"https://github.com/marcopompei/Gloss.git","svn_url":"https://github.com/marcopompei/Gloss","homepage":"http://harlankellaway.com/Gloss/","size":706,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"hkellaway:swift_3.0","ref":"swift_3.0","sha":"81b1aa690aadb4f7c8020327069e13cf9f4c4fe8","user":{"login":"hkellaway","id":5456481,"avatar_url":"https://avatars.githubusercontent.com/u/5456481?v=3","gravatar_id":"","url":"https://api.github.com/users/hkellaway","html_url":"https://github.com/hkellaway","followers_url":"https://api.github.com/users/hkellaway/followers","following_url":"https://api.github.com/users/hkellaway/following{/other_user}","gists_url":"https://api.github.com/users/hkellaway/gists{/gist_id}","starred_url":"https://api.github.com/users/hkellaway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hkellaway/subscriptions","organizations_url":"https://api.github.com/users/hkellaway/orgs","repos_url":"https://api.github.com/users/hkellaway/repos","events_url":"https://api.github.com/users/hkellaway/events{/privacy}","received_events_url":"https://api.github.com/users/hkellaway/received_events","type":"User","site_admin":false},"repo":{"id":40102424,"name":"Gloss","full_name":"hkellaway/Gloss","owner":{"login":"hkellaway","id":5456481,"avatar_url":"https://avatars.githubusercontent.com/u/5456481?v=3","gravatar_id":"","url":"https://api.github.com/users/hkellaway","html_url":"https://github.com/hkellaway","followers_url":"https://api.github.com/users/hkellaway/followers","following_url":"https://api.github.com/users/hkellaway/following{/other_user}","gists_url":"https://api.github.com/users/hkellaway/gists{/gist_id}","starred_url":"https://api.github.com/users/hkellaway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hkellaway/subscriptions","organizations_url":"https://api.github.com/users/hkellaway/orgs","repos_url":"https://api.github.com/users/hkellaway/repos","events_url":"https://api.github.com/users/hkellaway/events{/privacy}","received_events_url":"https://api.github.com/users/hkellaway/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hkellaway/Gloss","description":"A shiny JSON parsing library in Swift :sparkles:","fork":false,"url":"https://api.github.com/repos/hkellaway/Gloss","forks_url":"https://api.github.com/repos/hkellaway/Gloss/forks","keys_url":"https://api.github.com/repos/hkellaway/Gloss/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hkellaway/Gloss/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hkellaway/Gloss/teams","hooks_url":"https://api.github.com/repos/hkellaway/Gloss/hooks","issue_events_url":"https://api.github.com/repos/hkellaway/Gloss/issues/events{/number}","events_url":"https://api.github.com/repos/hkellaway/Gloss/events","assignees_url":"https://api.github.com/repos/hkellaway/Gloss/assignees{/user}","branches_url":"https://api.github.com/repos/hkellaway/Gloss/branches{/branch}","tags_url":"https://api.github.com/repos/hkellaway/Gloss/tags","blobs_url":"https://api.github.com/repos/hkellaway/Gloss/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hkellaway/Gloss/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hkellaway/Gloss/git/refs{/sha}","trees_url":"https://api.github.com/repos/hkellaway/Gloss/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hkellaway/Gloss/statuses/{sha}","languages_url":"https://api.github.com/repos/hkellaway/Gloss/languages","stargazers_url":"https://api.github.com/repos/hkellaway/Gloss/stargazers","contributors_url":"https://api.github.com/repos/hkellaway/Gloss/contributors","subscribers_url":"https://api.github.com/repos/hkellaway/Gloss/subscribers","subscription_url":"https://api.github.com/repos/hkellaway/Gloss/subscription","commits_url":"https://api.github.com/repos/hkellaway/Gloss/commits{/sha}","git_commits_url":"https://api.github.com/repos/hkellaway/Gloss/git/commits{/sha}","comments_url":"https://api.github.com/repos/hkellaway/Gloss/comments{/number}","issue_comment_url":"https://api.github.com/repos/hkellaway/Gloss/issues/comments{/number}","contents_url":"https://api.github.com/repos/hkellaway/Gloss/contents/{+path}","compare_url":"https://api.github.com/repos/hkellaway/Gloss/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hkellaway/Gloss/merges","archive_url":"https://api.github.com/repos/hkellaway/Gloss/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hkellaway/Gloss/downloads","issues_url":"https://api.github.com/repos/hkellaway/Gloss/issues{/number}","pulls_url":"https://api.github.com/repos/hkellaway/Gloss/pulls{/number}","milestones_url":"https://api.github.com/repos/hkellaway/Gloss/milestones{/number}","notifications_url":"https://api.github.com/repos/hkellaway/Gloss/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hkellaway/Gloss/labels{/name}","releases_url":"https://api.github.com/repos/hkellaway/Gloss/releases{/id}","deployments_url":"https://api.github.com/repos/hkellaway/Gloss/deployments","created_at":"2015-08-03T03:03:16Z","updated_at":"2016-08-24T17:08:18Z","pushed_at":"2016-08-24T17:21:43Z","git_url":"git://github.com/hkellaway/Gloss.git","ssh_url":"git@github.com:hkellaway/Gloss.git","clone_url":"https://github.com/hkellaway/Gloss.git","svn_url":"https://github.com/hkellaway/Gloss","homepage":"http://harlankellaway.com/Gloss/","size":732,"stargazers_count":968,"watchers_count":968,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":71,"mirror_url":null,"open_issues_count":8,"forks":71,"open_issues":8,"watchers":968,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/hkellaway/Gloss/pulls/204"},"html":{"href":"https://github.com/hkellaway/Gloss/pull/204"},"issue":{"href":"https://api.github.com/repos/hkellaway/Gloss/issues/204"},"comments":{"href":"https://api.github.com/repos/hkellaway/Gloss/issues/204/comments"},"review_comments":{"href":"https://api.github.com/repos/hkellaway/Gloss/pulls/204/comments"},"review_comment":{"href":"https://api.github.com/repos/hkellaway/Gloss/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hkellaway/Gloss/pulls/204/commits"},"statuses":{"href":"https://api.github.com/repos/hkellaway/Gloss/statuses/f14bac826a004ae358518cc2d6b8b7402bec945e"}}}}
{"actor":{"display_login":"marcopompei"}}