{"action":"created","comment":{"url":"https://api.github.com/repos/bignerdranch/Freddy/pulls/comments/56237313","id":56237313,"diff_hunk":"@@ -214,50 +214,72 @@ extension JSON {\n \n }\n \n-// MARK: - Missing-to-Optional unpacking\n+// MARK: - NotFound-Or-Null-to-Optional unpacking\n \n extension JSON {\n-\n-    private func optionalAtPath(path: [JSONPathType], ifNotFound: Swift.Bool) throws -> JSON? {\n+    \n+    /// An `OptionSetType` used to represent the different options available for parsing `JSON` with `Null` values or missing keys.","path":"Sources/JSONSubscripting.swift","position":11,"original_position":11,"commit_id":"46d824433fedbb32ebd66890a345f8a12922f129","original_commit_id":"46d824433fedbb32ebd66890a345f8a12922f129","user":{"login":"mdmathias","id":4029922,"avatar_url":"https://avatars.githubusercontent.com/u/4029922?v=3","gravatar_id":"","url":"https://api.github.com/users/mdmathias","html_url":"https://github.com/mdmathias","followers_url":"https://api.github.com/users/mdmathias/followers","following_url":"https://api.github.com/users/mdmathias/following{/other_user}","gists_url":"https://api.github.com/users/mdmathias/gists{/gist_id}","starred_url":"https://api.github.com/users/mdmathias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdmathias/subscriptions","organizations_url":"https://api.github.com/users/mdmathias/orgs","repos_url":"https://api.github.com/users/mdmathias/repos","events_url":"https://api.github.com/users/mdmathias/events{/privacy}","received_events_url":"https://api.github.com/users/mdmathias/received_events","type":"User","site_admin":false},"body":":+1: ","created_at":"2016-03-15T20:44:57Z","updated_at":"2016-03-15T20:44:57Z","html_url":"https://github.com/bignerdranch/Freddy/pull/148#discussion_r56237313","pull_request_url":"https://api.github.com/repos/bignerdranch/Freddy/pulls/148","_links":{"self":{"href":"https://api.github.com/repos/bignerdranch/Freddy/pulls/comments/56237313"},"html":{"href":"https://github.com/bignerdranch/Freddy/pull/148#discussion_r56237313"},"pull_request":{"href":"https://api.github.com/repos/bignerdranch/Freddy/pulls/148"}}},"pull_request":{"url":"https://api.github.com/repos/bignerdranch/Freddy/pulls/148","id":62618828,"html_url":"https://github.com/bignerdranch/Freddy/pull/148","diff_url":"https://github.com/bignerdranch/Freddy/pull/148.diff","patch_url":"https://github.com/bignerdranch/Freddy/pull/148.patch","issue_url":"https://api.github.com/repos/bignerdranch/Freddy/issues/148","number":148,"state":"open","locked":false,"title":"Adds a ParsingOptions OptionSetType","user":{"login":"mdmathias","id":4029922,"avatar_url":"https://avatars.githubusercontent.com/u/4029922?v=3","gravatar_id":"","url":"https://api.github.com/users/mdmathias","html_url":"https://github.com/mdmathias","followers_url":"https://api.github.com/users/mdmathias/followers","following_url":"https://api.github.com/users/mdmathias/following{/other_user}","gists_url":"https://api.github.com/users/mdmathias/gists{/gist_id}","starred_url":"https://api.github.com/users/mdmathias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdmathias/subscriptions","organizations_url":"https://api.github.com/users/mdmathias/orgs","repos_url":"https://api.github.com/users/mdmathias/repos","events_url":"https://api.github.com/users/mdmathias/events{/privacy}","received_events_url":"https://api.github.com/users/mdmathias/received_events","type":"User","site_admin":false},"body":"`ParsingOptions` is used when parsing `JSON` that may have null values or missing keys.  `ParsingOptions provides` `.NullBecomesNil` and `.MissingKeyBecomesNil` options to treat this `JSON` as nil to prevent the throwing of errors.\r\n\r\nThis PR also adds tests for what Freddy considers `JSONSubscripting`.\r\n\r\nFixes #128 ","created_at":"2016-03-11T23:38:29Z","updated_at":"2016-03-15T20:44:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"28b322461f341f529b0b21c89fb88835c2fddb2b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bignerdranch/Freddy/pulls/148/commits","review_comments_url":"https://api.github.com/repos/bignerdranch/Freddy/pulls/148/comments","review_comment_url":"https://api.github.com/repos/bignerdranch/Freddy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bignerdranch/Freddy/issues/148/comments","statuses_url":"https://api.github.com/repos/bignerdranch/Freddy/statuses/46d824433fedbb32ebd66890a345f8a12922f129","head":{"label":"bignerdranch:mattmatt/ParsingOptions","ref":"mattmatt/ParsingOptions","sha":"46d824433fedbb32ebd66890a345f8a12922f129","user":{"login":"bignerdranch","id":230455,"avatar_url":"https://avatars.githubusercontent.com/u/230455?v=3","gravatar_id":"","url":"https://api.github.com/users/bignerdranch","html_url":"https://github.com/bignerdranch","followers_url":"https://api.github.com/users/bignerdranch/followers","following_url":"https://api.github.com/users/bignerdranch/following{/other_user}","gists_url":"https://api.github.com/users/bignerdranch/gists{/gist_id}","starred_url":"https://api.github.com/users/bignerdranch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bignerdranch/subscriptions","organizations_url":"https://api.github.com/users/bignerdranch/orgs","repos_url":"https://api.github.com/users/bignerdranch/repos","events_url":"https://api.github.com/users/bignerdranch/events{/privacy}","received_events_url":"https://api.github.com/users/bignerdranch/received_events","type":"Organization","site_admin":false},"repo":{"id":32896921,"name":"Freddy","full_name":"bignerdranch/Freddy","owner":{"login":"bignerdranch","id":230455,"avatar_url":"https://avatars.githubusercontent.com/u/230455?v=3","gravatar_id":"","url":"https://api.github.com/users/bignerdranch","html_url":"https://github.com/bignerdranch","followers_url":"https://api.github.com/users/bignerdranch/followers","following_url":"https://api.github.com/users/bignerdranch/following{/other_user}","gists_url":"https://api.github.com/users/bignerdranch/gists{/gist_id}","starred_url":"https://api.github.com/users/bignerdranch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bignerdranch/subscriptions","organizations_url":"https://api.github.com/users/bignerdranch/orgs","repos_url":"https://api.github.com/users/bignerdranch/repos","events_url":"https://api.github.com/users/bignerdranch/events{/privacy}","received_events_url":"https://api.github.com/users/bignerdranch/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bignerdranch/Freddy","description":"A reusable framework for parsing JSON in Swift.","fork":false,"url":"https://api.github.com/repos/bignerdranch/Freddy","forks_url":"https://api.github.com/repos/bignerdranch/Freddy/forks","keys_url":"https://api.github.com/repos/bignerdranch/Freddy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bignerdranch/Freddy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bignerdranch/Freddy/teams","hooks_url":"https://api.github.com/repos/bignerdranch/Freddy/hooks","issue_events_url":"https://api.github.com/repos/bignerdranch/Freddy/issues/events{/number}","events_url":"https://api.github.com/repos/bignerdranch/Freddy/events","assignees_url":"https://api.github.com/repos/bignerdranch/Freddy/assignees{/user}","branches_url":"https://api.github.com/repos/bignerdranch/Freddy/branches{/branch}","tags_url":"https://api.github.com/repos/bignerdranch/Freddy/tags","blobs_url":"https://api.github.com/repos/bignerdranch/Freddy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bignerdranch/Freddy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bignerdranch/Freddy/git/refs{/sha}","trees_url":"https://api.github.com/repos/bignerdranch/Freddy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bignerdranch/Freddy/statuses/{sha}","languages_url":"https://api.github.com/repos/bignerdranch/Freddy/languages","stargazers_url":"https://api.github.com/repos/bignerdranch/Freddy/stargazers","contributors_url":"https://api.github.com/repos/bignerdranch/Freddy/contributors","subscribers_url":"https://api.github.com/repos/bignerdranch/Freddy/subscribers","subscription_url":"https://api.github.com/repos/bignerdranch/Freddy/subscription","commits_url":"https://api.github.com/repos/bignerdranch/Freddy/commits{/sha}","git_commits_url":"https://api.github.com/repos/bignerdranch/Freddy/git/commits{/sha}","comments_url":"https://api.github.com/repos/bignerdranch/Freddy/comments{/number}","issue_comment_url":"https://api.github.com/repos/bignerdranch/Freddy/issues/comments{/number}","contents_url":"https://api.github.com/repos/bignerdranch/Freddy/contents/{+path}","compare_url":"https://api.github.com/repos/bignerdranch/Freddy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bignerdranch/Freddy/merges","archive_url":"https://api.github.com/repos/bignerdranch/Freddy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bignerdranch/Freddy/downloads","issues_url":"https://api.github.com/repos/bignerdranch/Freddy/issues{/number}","pulls_url":"https://api.github.com/repos/bignerdranch/Freddy/pulls{/number}","milestones_url":"https://api.github.com/repos/bignerdranch/Freddy/milestones{/number}","notifications_url":"https://api.github.com/repos/bignerdranch/Freddy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bignerdranch/Freddy/labels{/name}","releases_url":"https://api.github.com/repos/bignerdranch/Freddy/releases{/id}","deployments_url":"https://api.github.com/repos/bignerdranch/Freddy/deployments","created_at":"2015-03-25T23:29:34Z","updated_at":"2016-03-15T09:18:12Z","pushed_at":"2016-03-15T17:12:31Z","git_url":"git://github.com/bignerdranch/Freddy.git","ssh_url":"git@github.com:bignerdranch/Freddy.git","clone_url":"https://github.com/bignerdranch/Freddy.git","svn_url":"https://github.com/bignerdranch/Freddy","homepage":null,"size":1390,"stargazers_count":778,"watchers_count":778,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":29,"mirror_url":null,"open_issues_count":20,"forks":29,"open_issues":20,"watchers":778,"default_branch":"master"}},"base":{"label":"bignerdranch:master","ref":"master","sha":"fae3cae61ff15df5e9b49611ba22f6b5dc19a6c2","user":{"login":"bignerdranch","id":230455,"avatar_url":"https://avatars.githubusercontent.com/u/230455?v=3","gravatar_id":"","url":"https://api.github.com/users/bignerdranch","html_url":"https://github.com/bignerdranch","followers_url":"https://api.github.com/users/bignerdranch/followers","following_url":"https://api.github.com/users/bignerdranch/following{/other_user}","gists_url":"https://api.github.com/users/bignerdranch/gists{/gist_id}","starred_url":"https://api.github.com/users/bignerdranch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bignerdranch/subscriptions","organizations_url":"https://api.github.com/users/bignerdranch/orgs","repos_url":"https://api.github.com/users/bignerdranch/repos","events_url":"https://api.github.com/users/bignerdranch/events{/privacy}","received_events_url":"https://api.github.com/users/bignerdranch/received_events","type":"Organization","site_admin":false},"repo":{"id":32896921,"name":"Freddy","full_name":"bignerdranch/Freddy","owner":{"login":"bignerdranch","id":230455,"avatar_url":"https://avatars.githubusercontent.com/u/230455?v=3","gravatar_id":"","url":"https://api.github.com/users/bignerdranch","html_url":"https://github.com/bignerdranch","followers_url":"https://api.github.com/users/bignerdranch/followers","following_url":"https://api.github.com/users/bignerdranch/following{/other_user}","gists_url":"https://api.github.com/users/bignerdranch/gists{/gist_id}","starred_url":"https://api.github.com/users/bignerdranch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bignerdranch/subscriptions","organizations_url":"https://api.github.com/users/bignerdranch/orgs","repos_url":"https://api.github.com/users/bignerdranch/repos","events_url":"https://api.github.com/users/bignerdranch/events{/privacy}","received_events_url":"https://api.github.com/users/bignerdranch/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bignerdranch/Freddy","description":"A reusable framework for parsing JSON in Swift.","fork":false,"url":"https://api.github.com/repos/bignerdranch/Freddy","forks_url":"https://api.github.com/repos/bignerdranch/Freddy/forks","keys_url":"https://api.github.com/repos/bignerdranch/Freddy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bignerdranch/Freddy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bignerdranch/Freddy/teams","hooks_url":"https://api.github.com/repos/bignerdranch/Freddy/hooks","issue_events_url":"https://api.github.com/repos/bignerdranch/Freddy/issues/events{/number}","events_url":"https://api.github.com/repos/bignerdranch/Freddy/events","assignees_url":"https://api.github.com/repos/bignerdranch/Freddy/assignees{/user}","branches_url":"https://api.github.com/repos/bignerdranch/Freddy/branches{/branch}","tags_url":"https://api.github.com/repos/bignerdranch/Freddy/tags","blobs_url":"https://api.github.com/repos/bignerdranch/Freddy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bignerdranch/Freddy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bignerdranch/Freddy/git/refs{/sha}","trees_url":"https://api.github.com/repos/bignerdranch/Freddy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bignerdranch/Freddy/statuses/{sha}","languages_url":"https://api.github.com/repos/bignerdranch/Freddy/languages","stargazers_url":"https://api.github.com/repos/bignerdranch/Freddy/stargazers","contributors_url":"https://api.github.com/repos/bignerdranch/Freddy/contributors","subscribers_url":"https://api.github.com/repos/bignerdranch/Freddy/subscribers","subscription_url":"https://api.github.com/repos/bignerdranch/Freddy/subscription","commits_url":"https://api.github.com/repos/bignerdranch/Freddy/commits{/sha}","git_commits_url":"https://api.github.com/repos/bignerdranch/Freddy/git/commits{/sha}","comments_url":"https://api.github.com/repos/bignerdranch/Freddy/comments{/number}","issue_comment_url":"https://api.github.com/repos/bignerdranch/Freddy/issues/comments{/number}","contents_url":"https://api.github.com/repos/bignerdranch/Freddy/contents/{+path}","compare_url":"https://api.github.com/repos/bignerdranch/Freddy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bignerdranch/Freddy/merges","archive_url":"https://api.github.com/repos/bignerdranch/Freddy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bignerdranch/Freddy/downloads","issues_url":"https://api.github.com/repos/bignerdranch/Freddy/issues{/number}","pulls_url":"https://api.github.com/repos/bignerdranch/Freddy/pulls{/number}","milestones_url":"https://api.github.com/repos/bignerdranch/Freddy/milestones{/number}","notifications_url":"https://api.github.com/repos/bignerdranch/Freddy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bignerdranch/Freddy/labels{/name}","releases_url":"https://api.github.com/repos/bignerdranch/Freddy/releases{/id}","deployments_url":"https://api.github.com/repos/bignerdranch/Freddy/deployments","created_at":"2015-03-25T23:29:34Z","updated_at":"2016-03-15T09:18:12Z","pushed_at":"2016-03-15T17:12:31Z","git_url":"git://github.com/bignerdranch/Freddy.git","ssh_url":"git@github.com:bignerdranch/Freddy.git","clone_url":"https://github.com/bignerdranch/Freddy.git","svn_url":"https://github.com/bignerdranch/Freddy","homepage":null,"size":1390,"stargazers_count":778,"watchers_count":778,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":29,"mirror_url":null,"open_issues_count":20,"forks":29,"open_issues":20,"watchers":778,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bignerdranch/Freddy/pulls/148"},"html":{"href":"https://github.com/bignerdranch/Freddy/pull/148"},"issue":{"href":"https://api.github.com/repos/bignerdranch/Freddy/issues/148"},"comments":{"href":"https://api.github.com/repos/bignerdranch/Freddy/issues/148/comments"},"review_comments":{"href":"https://api.github.com/repos/bignerdranch/Freddy/pulls/148/comments"},"review_comment":{"href":"https://api.github.com/repos/bignerdranch/Freddy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bignerdranch/Freddy/pulls/148/commits"},"statuses":{"href":"https://api.github.com/repos/bignerdranch/Freddy/statuses/46d824433fedbb32ebd66890a345f8a12922f129"}}}}