thank you for replay i take a look to code and it's PEAR and I want to use
> PECL if  can and if cane how i use it.
>

The code says

    public static function decode($encodedValue, $objectDecodeType =
Zend_Json::TYPE_ARRAY)
    {
        if (function_exists('json_decode') &&
self::$useBuiltinEncoderDecoder !== true) {
            return json_decode($encodedValue, $objectDecodeType);
        }

        require_once 'Zend/Json/Decoder.php';
        return Zend_Json_Decoder::decode($encodedValue, $objectDecodeType);
    }

Which uses the pecl extension if available and if not using the
Zend_Json_Decoder class which isn't from PEAR.

Regards

Marco

Reply via email to