{"action":"created","issue":{"url":"https://api.github.com/repos/iojs/io.js/issues/561","labels_url":"https://api.github.com/repos/iojs/io.js/issues/561/labels{/name}","comments_url":"https://api.github.com/repos/iojs/io.js/issues/561/comments","events_url":"https://api.github.com/repos/iojs/io.js/issues/561/events","html_url":"https://github.com/iojs/io.js/pull/561","id":55226222,"number":561,"title":"buffer: add indexOf() method","user":{"login":"trevnorris","id":289174,"avatar_url":"https://avatars.githubusercontent.com/u/289174?v=3","gravatar_id":"","url":"https://api.github.com/users/trevnorris","html_url":"https://github.com/trevnorris","followers_url":"https://api.github.com/users/trevnorris/followers","following_url":"https://api.github.com/users/trevnorris/following{/other_user}","gists_url":"https://api.github.com/users/trevnorris/gists{/gist_id}","starred_url":"https://api.github.com/users/trevnorris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trevnorris/subscriptions","organizations_url":"https://api.github.com/users/trevnorris/orgs","repos_url":"https://api.github.com/users/trevnorris/repos","events_url":"https://api.github.com/users/trevnorris/events{/privacy}","received_events_url":"https://api.github.com/users/trevnorris/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/iojs/io.js/labels/buffer","name":"buffer","color":"f7c6c7"},{"url":"https://api.github.com/repos/iojs/io.js/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-22T23:47:05Z","updated_at":"2015-01-22T23:52:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/iojs/io.js/pulls/561","html_url":"https://github.com/iojs/io.js/pull/561","diff_url":"https://github.com/iojs/io.js/pull/561.diff","patch_url":"https://github.com/iojs/io.js/pull/561.patch"},"body":"Add Buffer#indexOf(). Support strings, numbers and other Buffers. This\r\nis more support than String#indexOf() gives, but the increased\r\nversatility should be helpful.\r\n\r\nSpecial thanks to Sam Rijs for first proposing this\r\nchange.\r\n\r\nR=@bnoordhuis\r\n\r\nThis is a re-hash of https://github.com/iojs/io.js/pull/160. Done this way so future support can include regexp's and arrays."},"comment":{"url":"https://api.github.com/repos/iojs/io.js/issues/comments/71123701","html_url":"https://github.com/iojs/io.js/pull/561#issuecomment-71123701","issue_url":"https://api.github.com/repos/iojs/io.js/issues/561","id":71123701,"user":{"login":"trevnorris","id":289174,"avatar_url":"https://avatars.githubusercontent.com/u/289174?v=3","gravatar_id":"","url":"https://api.github.com/users/trevnorris","html_url":"https://github.com/trevnorris","followers_url":"https://api.github.com/users/trevnorris/followers","following_url":"https://api.github.com/users/trevnorris/following{/other_user}","gists_url":"https://api.github.com/users/trevnorris/gists{/gist_id}","starred_url":"https://api.github.com/users/trevnorris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trevnorris/subscriptions","organizations_url":"https://api.github.com/users/trevnorris/orgs","repos_url":"https://api.github.com/users/trevnorris/repos","events_url":"https://api.github.com/users/trevnorris/events{/privacy}","received_events_url":"https://api.github.com/users/trevnorris/received_events","type":"User","site_admin":false},"created_at":"2015-01-22T23:52:16Z","updated_at":"2015-01-22T23:52:16Z","body":"Ref to original PR that brought this about: https://github.com/iojs/io.js/pull/160"}}