JsonHelper

Filepath: phork/php/utilities/JsonHelper.class.php

The JsonHelper class is a simple utility to encode and decode data to and from JSON. It attempts to use the Zend's Zend_Json class if the Zend Framework is installed, otherwise it reverts back to using PHP's json_encode() and json_decode() functions.