View Single Post
  #1 (permalink)  
Old 04-26-2008, 03:40 AM
cc96ai cc96ai is offline
Junior Member
 
Join Date: Dec 2007
Posts: 4
Default zend JSON why return double quote ?

I except the result is
{success: true}
but the actual result from the page is
"{success: true}"


it has the quote around the string , why is that ?
how could I remove the quote ?

PHP Code:
    function testAction(){
        
$data "{success: true}";
        
$this->_helper->json($data);

    } 
Reply With Quote