change
return array('json' => 'test');
to
return new JsonModel(array('json' => 'test'));----- Hasan H. Gürsoy (HHGAG) -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/ZF2-contextSwitch-to-json-tp4418147p4429126.html Sent from the Zend Framework mailing list archive at Nabble.com. -- List: [email protected] Info: http://framework.zend.com/archives Unsubscribe: [email protected]
