adding class entry getter for JsonSerializeable
| From: | chobie | Date: | Sat, 07 Sep 2013 15:43:12 +0000 |
| Subject: | adding class entry getter for JsonSerializeable | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-68943@lists.php.net to get a copy of this message | ||
Hi internals,
I realized we could not retrieve php_json_serializable_ce from other
extension module. JsonSerializeable interface is easy to serialize with
json_encode. So I want to adding getter function.
The patch can be found here:
https://github.com/chobie/php-src/compare/adding-jsonserializeable-ce-getter
I want to have feedback on the idea.
Thanks,
Shuhei