Hi Andi:
On Sat, Jan 21, 2006 at 08:01:25AM -0800, Andi Gutmans wrote:
>
> Well I think the right thing to do is pass an array of "allowed"
> classes into json_decode() and raise an error/exception if it's not
> in the list.
>
> I think it wasn't clear to some people why this is needed.
> I think enabling the seamless mapping of objects in between the
> client and server is extremely useful.
So are you proposing a JSON string like this:
var weehaw = {"f":"foo","b":"bar"};
Would get converted into a PHP object named "weehaw?"
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php