decode($content); } } if (!function_exists('json_encode')) { function json_encode($content) { require_once(realpath(dirname(__FILE__) . "/" . "JSON.php")); $json = new Services_JSON; return $json->encode($content); } } ?>