{"action":"created","issue":{"url":"https://api.github.com/repos/thephpleague/oauth2-client/issues/375","labels_url":"https://api.github.com/repos/thephpleague/oauth2-client/issues/375/labels{/name}","comments_url":"https://api.github.com/repos/thephpleague/oauth2-client/issues/375/comments","events_url":"https://api.github.com/repos/thephpleague/oauth2-client/issues/375/events","html_url":"https://github.com/thephpleague/oauth2-client/pull/375","id":93048512,"number":375,"title":"Enhanced json_encode() serialization of AccessToken","user":{"login":"ramsey","id":42941,"avatar_url":"https://avatars.githubusercontent.com/u/42941?v=3","gravatar_id":"","url":"https://api.github.com/users/ramsey","html_url":"https://github.com/ramsey","followers_url":"https://api.github.com/users/ramsey/followers","following_url":"https://api.github.com/users/ramsey/following{/other_user}","gists_url":"https://api.github.com/users/ramsey/gists{/gist_id}","starred_url":"https://api.github.com/users/ramsey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramsey/subscriptions","organizations_url":"https://api.github.com/users/ramsey/orgs","repos_url":"https://api.github.com/users/ramsey/repos","events_url":"https://api.github.com/users/ramsey/events{/privacy}","received_events_url":"https://api.github.com/users/ramsey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-04T21:00:02Z","updated_at":"2015-07-04T22:08:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/thephpleague/oauth2-client/pulls/375","html_url":"https://github.com/thephpleague/oauth2-client/pull/375","diff_url":"https://github.com/thephpleague/oauth2-client/pull/375.diff","patch_url":"https://github.com/thephpleague/oauth2-client/pull/375.patch"},"body":"Fixes #373\r\n\r\n@shadowhand and @rtheunissen, please review and let me know if you think this is a good idea. I'm not sure I'm sold on it, but it definitely adds convenience for those using `json_encode()` on the `AccessToken` object."},"comment":{"url":"https://api.github.com/repos/thephpleague/oauth2-client/issues/comments/118557764","html_url":"https://github.com/thephpleague/oauth2-client/pull/375#issuecomment-118557764","issue_url":"https://api.github.com/repos/thephpleague/oauth2-client/issues/375","id":118557764,"user":{"login":"ramsey","id":42941,"avatar_url":"https://avatars.githubusercontent.com/u/42941?v=3","gravatar_id":"","url":"https://api.github.com/users/ramsey","html_url":"https://github.com/ramsey","followers_url":"https://api.github.com/users/ramsey/followers","following_url":"https://api.github.com/users/ramsey/following{/other_user}","gists_url":"https://api.github.com/users/ramsey/gists{/gist_id}","starred_url":"https://api.github.com/users/ramsey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramsey/subscriptions","organizations_url":"https://api.github.com/users/ramsey/orgs","repos_url":"https://api.github.com/users/ramsey/repos","events_url":"https://api.github.com/users/ramsey/events{/privacy}","received_events_url":"https://api.github.com/users/ramsey/received_events","type":"User","site_admin":false},"created_at":"2015-07-04T22:08:44Z","updated_at":"2015-07-04T22:08:44Z","body":"The spec uses `expires_in`, which is why I'm converting it to that."}}