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);
}