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