{"action":"created","issue":{"url":"https://api.github.com/repos/makamaka/JSON-PP/issues/30","repository_url":"https://api.github.com/repos/makamaka/JSON-PP","labels_url":"https://api.github.com/repos/makamaka/JSON-PP/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/makamaka/JSON-PP/issues/30/comments","events_url":"https://api.github.com/repos/makamaka/JSON-PP/issues/30/events","html_url":"https://github.com/makamaka/JSON-PP/pull/30","id":187520821,"number":30,"title":"add option disallow_dupkeys","user":{"login":"rabcyr","id":1113260,"avatar_url":"https://avatars.githubusercontent.com/u/1113260?v=3","gravatar_id":"","url":"https://api.github.com/users/rabcyr","html_url":"https://github.com/rabcyr","followers_url":"https://api.github.com/users/rabcyr/followers","following_url":"https://api.github.com/users/rabcyr/following{/other_user}","gists_url":"https://api.github.com/users/rabcyr/gists{/gist_id}","starred_url":"https://api.github.com/users/rabcyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rabcyr/subscriptions","organizations_url":"https://api.github.com/users/rabcyr/orgs","repos_url":"https://api.github.com/users/rabcyr/repos","events_url":"https://api.github.com/users/rabcyr/events{/privacy}","received_events_url":"https://api.github.com/users/rabcyr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-05T20:22:32Z","updated_at":"2016-11-05T21:18:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/makamaka/JSON-PP/pulls/30","html_url":"https://github.com/makamaka/JSON-PP/pull/30","diff_url":"https://github.com/makamaka/JSON-PP/pull/30.diff","patch_url":"https://github.com/makamaka/JSON-PP/pull/30.patch"},"body":"The JSON spec allows duplicate name in objects, however Perl hashes do not, and parsing JSON in Perl silently ignores duplicate names, using the last value found.\r\n\r\nThe option disallow_dupkeys, when enabled, will instead throw an error when duplicate names are found. It is useful in some cases to know when the JSON being parsed has values which will be ignored.\r\n\r\nA similar pull request has been done for Cpanel-JSON-XS: https://github.com/rurban/Cpanel-JSON-XS/pull/75"},"comment":{"url":"https://api.github.com/repos/makamaka/JSON-PP/issues/comments/258641304","html_url":"https://github.com/makamaka/JSON-PP/pull/30#issuecomment-258641304","issue_url":"https://api.github.com/repos/makamaka/JSON-PP/issues/30","id":258641304,"user":{"login":"rurban","id":41809,"avatar_url":"https://avatars.githubusercontent.com/u/41809?v=3","gravatar_id":"","url":"https://api.github.com/users/rurban","html_url":"https://github.com/rurban","followers_url":"https://api.github.com/users/rurban/followers","following_url":"https://api.github.com/users/rurban/following{/other_user}","gists_url":"https://api.github.com/users/rurban/gists{/gist_id}","starred_url":"https://api.github.com/users/rurban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rurban/subscriptions","organizations_url":"https://api.github.com/users/rurban/orgs","repos_url":"https://api.github.com/users/rurban/repos","events_url":"https://api.github.com/users/rurban/events{/privacy}","received_events_url":"https://api.github.com/users/rurban/received_events","type":"User","site_admin":false},"created_at":"2016-11-05T21:18:33Z","updated_at":"2016-11-05T21:18:33Z","body":"Well, we have a problem, since the ruby guy classified it as y_ (accept without error), and not as i_ (undefined) or n_ (error).\r\n\r\nI pushed the reverse branch `dupkeys` which does error with duplicate keys and is silent with relaxed. Let's wait."}}
{"actor":{"display_login":"rurban"}}