Have you enabled the enableJsonExprFinder option?

http://framework.zend.com/manual/en/zend.json.advanced.html#zend.json.advanced.expr

you have to add the option:

$jsonObjectWithExpression = Zend_Json::encode(
    $data,
    false,
    array('enableJsonExprFinder' => true)
);

On Mon, 18 May 2009 23:44:32 -0500, Deanna Bonds
<[email protected]> wrote:
> I tried enabling Zend_Json::$useBuiltinEncoderDecoder = true;  and using
> json context switching.  When ever I try to send an Zend_Json_Expr('js
> code here');  it comes out
> 
> "handler":{"__className":"Zend_Json_Expr"}
> 
> in the output.  I have tried disabling multibyte utf-8  settings.  I
tried
> moving the object around just to
> see if I had it nested to deep before.  Nothing seems to make it output
> the javascript code.
> 
> Deanna

Reply via email to