{"action":"created","issue":{"url":"https://api.github.com/repos/bitpay/bitcore/issues/1312","labels_url":"https://api.github.com/repos/bitpay/bitcore/issues/1312/labels{/name}","comments_url":"https://api.github.com/repos/bitpay/bitcore/issues/1312/comments","events_url":"https://api.github.com/repos/bitpay/bitcore/issues/1312/events","html_url":"https://github.com/bitpay/bitcore/pull/1312","id":100658870,"number":1312,"title":"Changes behavior of `toJSON` to work as expected with `JSON.stringify`","user":{"login":"braydonf","id":544777,"avatar_url":"https://avatars.githubusercontent.com/u/544777?v=3","gravatar_id":"","url":"https://api.github.com/users/braydonf","html_url":"https://github.com/braydonf","followers_url":"https://api.github.com/users/braydonf/followers","following_url":"https://api.github.com/users/braydonf/following{/other_user}","gists_url":"https://api.github.com/users/braydonf/gists{/gist_id}","starred_url":"https://api.github.com/users/braydonf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/braydonf/subscriptions","organizations_url":"https://api.github.com/users/braydonf/orgs","repos_url":"https://api.github.com/users/braydonf/repos","events_url":"https://api.github.com/users/braydonf/events{/privacy}","received_events_url":"https://api.github.com/users/braydonf/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bitpay/bitcore/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-12T23:41:28Z","updated_at":"2015-08-13T14:18:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bitpay/bitcore/pulls/1312","html_url":"https://github.com/bitpay/bitcore/pull/1312","diff_url":"https://github.com/bitpay/bitcore/pull/1312.diff","patch_url":"https://github.com/bitpay/bitcore/pull/1312.patch"},"body":"- see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify#toJSON%28%29_behavior\r\n- Updates CONTRIBUTING with changes to Stardard Methods\r\n- Aliases toJSON for toObject\r\n- Removes all `fromJSON` methods, and many cases replaces with `fromObject`\r\n- Constructors expect an object parsed via `JSON.parse` for JSON input\r\n- Closes https://github.com/bitpay/bitcore/issues/1307"},"comment":{"url":"https://api.github.com/repos/bitpay/bitcore/issues/comments/130692853","html_url":"https://github.com/bitpay/bitcore/pull/1312#issuecomment-130692853","issue_url":"https://api.github.com/repos/bitpay/bitcore/issues/1312","id":130692853,"user":{"login":"pnagurny","id":1868415,"avatar_url":"https://avatars.githubusercontent.com/u/1868415?v=3","gravatar_id":"","url":"https://api.github.com/users/pnagurny","html_url":"https://github.com/pnagurny","followers_url":"https://api.github.com/users/pnagurny/followers","following_url":"https://api.github.com/users/pnagurny/following{/other_user}","gists_url":"https://api.github.com/users/pnagurny/gists{/gist_id}","starred_url":"https://api.github.com/users/pnagurny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pnagurny/subscriptions","organizations_url":"https://api.github.com/users/pnagurny/orgs","repos_url":"https://api.github.com/users/pnagurny/repos","events_url":"https://api.github.com/users/pnagurny/events{/privacy}","received_events_url":"https://api.github.com/users/pnagurny/received_events","type":"User","site_admin":false},"created_at":"2015-08-13T14:18:38Z","updated_at":"2015-08-13T14:18:38Z","body":"ACK"}}