[nycphp-talk] What json library do you use?
rmarscher at beaffinitive.com
Wed Aug 8 14:28:45 EDT 2007
On Aug 8, 2007, at 2:09 PM, Jon Baer wrote:
> What even a little more confusing is that a full package is already
> in the Zend Framework ...
> $json = Zend_Json::encode($phpNative);
> $phpNative = Zend_Json::decode($encodedValue, Zend_Json::TYPE_OBJECT);
Yeah... that's a funny little class. I'm pretty sure I remember
people on the Zend Framework arguing that it should have been taken
out. It does abstract json encoding/decoding though so that you
don't have to rely on the extension.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the talk