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