function json_encode($value) { if (!class_exists('servicesJSON')) { jext('servicesJSON'); } $json = new servicesJSON(); return $json->encode($value); }
function json_encode($value) { if(!class_exists('servicesJSON')) { $load = new Load(); $load->lib('servicesJSON'); } $json = new servicesJSON(); return $json->encode($value); }