src/PutIO/Engines/JSON/JSON.php
function encodeUnsafe($var)
    {
        // see bug #16908 - regarding numeric locale printing
        $lc = setlocale(LC_NUMERIC, 0);
        setlocale(LC_NUMERIC, 'C');
        $ret = $this->_encode($var);
        setlocale(LC_NUMERIC, $lc);
        return $ret;
        
    }
function encodeUnsafe($var)
    {
        // see bug #16908 - regarding numeric locale printing
        $lc = setlocale(LC_NUMERIC, 0);
        setlocale(LC_NUMERIC, 'C');
        $ret = $this->_encode($var);
        setlocale(LC_NUMERIC, $lc);
        return $ret;
        
    }
function encodeUnsafe ( $ var ) { // see bug #16908 - regarding numeric locale printing $ lc = setlocale ( LC_NUMERIC , 0 ) ; setlocale ( LC_NUMERIC , 'C' ) ; $ ret = $ this -> _encode ( $ var ) ; setlocale ( LC_NUMERIC , $ lc ) ; return $ ret ; }
encodes an arbitrary variable into JSON format without JSON Header - warning - may allow XSS!!!!)

@param    mixed   $var    any number, boolean, string, array, or object to be encoded.
see argument 1 to Services_JSON() above for array-parsing behavior.
if var is a strng, note that encode() always expects it
to be in ASCII or UTF-8 format!

@return   mixed   JSON string representation of input var or an error if a problem occurs
@access   public
encodes an arbitrary variable into JSON format without JSON Header - warning - may allow XSS!!!! )