{"action":"opened","issue":{"url":"https://api.github.com/repos/nilportugues/php-serializer/issues/12","labels_url":"https://api.github.com/repos/nilportugues/php-serializer/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/nilportugues/php-serializer/issues/12/comments","events_url":"https://api.github.com/repos/nilportugues/php-serializer/issues/12/events","html_url":"https://github.com/nilportugues/php-serializer/issues/12","id":127832903,"number":12,"title":"SplFixedArray can not be serialized","user":{"login":"A1essandro","id":4727083,"avatar_url":"https://avatars.githubusercontent.com/u/4727083?v=3","gravatar_id":"","url":"https://api.github.com/users/A1essandro","html_url":"https://github.com/A1essandro","followers_url":"https://api.github.com/users/A1essandro/followers","following_url":"https://api.github.com/users/A1essandro/following{/other_user}","gists_url":"https://api.github.com/users/A1essandro/gists{/gist_id}","starred_url":"https://api.github.com/users/A1essandro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/A1essandro/subscriptions","organizations_url":"https://api.github.com/users/A1essandro/orgs","repos_url":"https://api.github.com/users/A1essandro/repos","events_url":"https://api.github.com/users/A1essandro/events{/privacy}","received_events_url":"https://api.github.com/users/A1essandro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-21T02:44:34Z","updated_at":"2016-01-21T02:44:34Z","closed_at":null,"body":"After serialize-deserialize any object of SplFixedArray (perhaps any SplQueue, SplStack etc.), empty object in result.\r\n\r\nExample:\r\n\r\n```php\r\n\r\n$serializer = new JsonSerializer();\r\n\r\n$obj = new SplFixedArray(2);\r\n$obj[0] = 1;\r\n$obj[1] = 'test';\r\n\r\n$serialized = $serializer->serialize($obj); // {\"@type\": \"SplFixedArray\"}\r\n$serializer->unserialize($serialized); // SplFixedArray Object ()\r\n\r\n```"}}