On 4/24/11 2:57 PM, stickaforkinme wrote:
I'm sure this is a really really stupid question but I can't seem to
find a clean way to return a JSON object, i.e. by not calling a
controller and just returning the result of json_encode. This was easy
is Symfony 1.x but I have no idea how to do it in S
check
github.com/cordoval/Memorize-Scripture-2 example
On Sun, Apr 24, 2011 at 7:57 AM, stickaforkinme wrote:
> I'm sure this is a really really stupid question but I can't seem to
> find a clean way to return a JSON object, i.e. by not calling a
> controller and just returning the result of json
I'm sure this is a really really stupid question but I can't seem to
find a clean way to return a JSON object, i.e. by not calling a
controller and just returning the result of json_encode. This was easy
is Symfony 1.x but I have no idea how to do it in Symfony2. Any body
know how to do this??
I h