NYCPHP Meetup

[nycphp-talk] What json library do you use?

Rob Marscher 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 ...
> http://framework.zend.com/manual/en/zend.json.html
>
> $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...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20070808/13cc729c/attachment.html>


More information about the talk mailing list