public static function stringify($args/* inherit from json_encode */)
    {
        // extract arguments
        $args = \func_get_args();

        // run encode and output
        $string = \call_user_func_array('json_encode', $args);

        // turn errors into exceptions for easier catching
        if ($error = self::getJsonLastErrorMsg()) {
            throw new JSONParseException($error);
        }

        // output
        return $string;
    }