Re: json_encode ignores protected/private class members
| From: | Stefan Walk | Date: | Thu, 09 Oct 2008 13:17:36 +0000 |
| Subject: | Re: json_encode ignores protected/private class members | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-40888@lists.php.net to get a copy of this message | ||
On Thursday 09 October 2008 15:13:43 Jarismar Chaves da Silva wrote:
> Ok, nice solution, but I still don't see why json_encode ignores
> protected/private class members. I mean, why we need this feature.
Because, in theory, it shouldn't even be able to see those members?
Regards,
Stefan