static function jsonEncode($object,$option=0)
    {
        $marks = Utility::mark_js_function($object);
        $text = json_encode($object, $option);
        foreach ($marks as $i=>$js) {
            $text = str_replace("\"--js($i)\"", $js, $text);
        }
        return $text;
    }
static function jsonEncode($object,$option=0)
    {
        $marks = Utility::mark_js_function($object);
        $text = json_encode($object, $option);
        foreach ($marks as $i=>$js) {
            $text = str_replace("\"--js($i)\"", $js, $text);
        }
        return $text;
    }
static function jsonEncode ( $ object , $ option = 0 ) { $ marks = Utility :: mark_js_function ( $ object ) ; $ text = json_encode ( $ object , $ option ) ; foreach ( $ marks as $ i => $ js ) { $ text = str_replace ( "\"--js($i)\"" , $ js , $ text ) ; } return $ text ; }
Get the json of an object

@param object $object The object needs to be encoded
@param int    $option The json_encode() additional option

@return string The json string of objects
Get the json of an object