{"action":"created","issue":{"url":"https://api.github.com/repos/jpfuentes2/php-activerecord/issues/385","labels_url":"https://api.github.com/repos/jpfuentes2/php-activerecord/issues/385/labels{/name}","comments_url":"https://api.github.com/repos/jpfuentes2/php-activerecord/issues/385/comments","events_url":"https://api.github.com/repos/jpfuentes2/php-activerecord/issues/385/events","html_url":"https://github.com/jpfuentes2/php-activerecord/issues/385","id":25089511,"number":385,"title":"Mass serialization ($all->to_json())","user":{"login":"nguyenbathanh","id":4046112,"avatar_url":"https://avatars.githubusercontent.com/u/4046112?v=3","gravatar_id":"","url":"https://api.github.com/users/nguyenbathanh","html_url":"https://github.com/nguyenbathanh","followers_url":"https://api.github.com/users/nguyenbathanh/followers","following_url":"https://api.github.com/users/nguyenbathanh/following{/other_user}","gists_url":"https://api.github.com/users/nguyenbathanh/gists{/gist_id}","starred_url":"https://api.github.com/users/nguyenbathanh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nguyenbathanh/subscriptions","organizations_url":"https://api.github.com/users/nguyenbathanh/orgs","repos_url":"https://api.github.com/users/nguyenbathanh/repos","events_url":"https://api.github.com/users/nguyenbathanh/events{/privacy}","received_events_url":"https://api.github.com/users/nguyenbathanh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2014-01-06T07:59:50Z","updated_at":"2015-01-22T15:33:01Z","closed_at":"2015-01-22T08:52:58Z","body":"I hope we can convert a list of objects to json format or an array. Example:\r\n\r\n    $all = Person::all();\r\n    $json = $all->to_json();\r\n\r\nor\r\n\r\n    $array = $all->to_array();\r\n\r\nI speak English not well, so sorry for that."},"comment":{"url":"https://api.github.com/repos/jpfuentes2/php-activerecord/issues/comments/71038437","html_url":"https://github.com/jpfuentes2/php-activerecord/issues/385#issuecomment-71038437","issue_url":"https://api.github.com/repos/jpfuentes2/php-activerecord/issues/385","id":71038437,"user":{"login":"koenpunt","id":351038,"avatar_url":"https://avatars.githubusercontent.com/u/351038?v=3","gravatar_id":"","url":"https://api.github.com/users/koenpunt","html_url":"https://github.com/koenpunt","followers_url":"https://api.github.com/users/koenpunt/followers","following_url":"https://api.github.com/users/koenpunt/following{/other_user}","gists_url":"https://api.github.com/users/koenpunt/gists{/gist_id}","starred_url":"https://api.github.com/users/koenpunt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koenpunt/subscriptions","organizations_url":"https://api.github.com/users/koenpunt/orgs","repos_url":"https://api.github.com/users/koenpunt/repos","events_url":"https://api.github.com/users/koenpunt/events{/privacy}","received_events_url":"https://api.github.com/users/koenpunt/received_events","type":"User","site_admin":false},"created_at":"2015-01-22T15:33:01Z","updated_at":"2015-01-22T15:33:01Z","body":"Oh well, that's pretty ugly. An obvious bug if you ask me."}}