{"action":"created","issue":{"url":"https://api.github.com/repos/opentable/accept-language-parser/issues/32","repository_url":"https://api.github.com/repos/opentable/accept-language-parser","labels_url":"https://api.github.com/repos/opentable/accept-language-parser/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/opentable/accept-language-parser/issues/32/comments","events_url":"https://api.github.com/repos/opentable/accept-language-parser/issues/32/events","html_url":"https://github.com/opentable/accept-language-parser/pull/32","id":355823100,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEyMjYyNzA0","number":32,"title":"Optional mapLocale function added to parse() method.  ","user":{"login":"tohagan","id":301525,"node_id":"MDQ6VXNlcjMwMTUyNQ==","avatar_url":"https://avatars2.githubusercontent.com/u/301525?v=4","gravatar_id":"","url":"https://api.github.com/users/tohagan","html_url":"https://github.com/tohagan","followers_url":"https://api.github.com/users/tohagan/followers","following_url":"https://api.github.com/users/tohagan/following{/other_user}","gists_url":"https://api.github.com/users/tohagan/gists{/gist_id}","starred_url":"https://api.github.com/users/tohagan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tohagan/subscriptions","organizations_url":"https://api.github.com/users/tohagan/orgs","repos_url":"https://api.github.com/users/tohagan/repos","events_url":"https://api.github.com/users/tohagan/events{/privacy}","received_events_url":"https://api.github.com/users/tohagan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-31T03:04:34Z","updated_at":"2018-08-31T03:15:11Z","closed_at":"2018-08-31T03:14:54Z","author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/opentable/accept-language-parser/pulls/32","html_url":"https://github.com/opentable/accept-language-parser/pull/32","diff_url":"https://github.com/opentable/accept-language-parser/pull/32.diff","patch_url":"https://github.com/opentable/accept-language-parser/pull/32.patch"},"body":"- `parse()` can now decode locales using either \"_\" or \"-\" as the delimiter.\r\n- `pick()` maps older Chinese locales to match script or region.\r\n- `parse()` - supports optional custom locale mapping function.\r\n- Unit tested.\r\n"},"comment":{"url":"https://api.github.com/repos/opentable/accept-language-parser/issues/comments/417538707","html_url":"https://github.com/opentable/accept-language-parser/pull/32#issuecomment-417538707","issue_url":"https://api.github.com/repos/opentable/accept-language-parser/issues/32","id":417538707,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzUzODcwNw==","user":{"login":"tohagan","id":301525,"node_id":"MDQ6VXNlcjMwMTUyNQ==","avatar_url":"https://avatars2.githubusercontent.com/u/301525?v=4","gravatar_id":"","url":"https://api.github.com/users/tohagan","html_url":"https://github.com/tohagan","followers_url":"https://api.github.com/users/tohagan/followers","following_url":"https://api.github.com/users/tohagan/following{/other_user}","gists_url":"https://api.github.com/users/tohagan/gists{/gist_id}","starred_url":"https://api.github.com/users/tohagan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tohagan/subscriptions","organizations_url":"https://api.github.com/users/tohagan/orgs","repos_url":"https://api.github.com/users/tohagan/repos","events_url":"https://api.github.com/users/tohagan/events{/privacy}","received_events_url":"https://api.github.com/users/tohagan/received_events","type":"User","site_admin":false},"created_at":"2018-08-31T03:15:11Z","updated_at":"2018-08-31T03:15:11Z","author_association":"NONE","body":"Broken will fix."}}
{"actor":{"display_login":"tohagan"}}