<?php
defined('_VALID') or die('Restricted Access!');
if (!function_exists('json_encode')) {
function json_encode($object)
{
VF::load('fast_json.FastJSON');
return FastJSON::encode($object);
}
}
if (!function_exists('json_decode')) {
function json_decode($string)
{
VF::load('fast_json.FastJSON');
return FastJSON::decode($string);
}
}
?>