On Wed, Apr 15, 2009 at 10:27 AM, Oliver Charles <
[email protected]> wrote:

> 2009/4/14 J. Shirley <[email protected]>:
> > The other solutions above that don't have you using View::JSON are wrong.
> >
> > Use Catalyst::View::JSON.
> >
> > Do not use other things
>
> Presumably this is only for serving JSON responses, right? Not for
> actually doing any JSON parsing on requests (like if JSON is POST from
> the client to the server - I dunno if that happens, because I don't
> touch JS).
>
> --
>    Oliver Charles / aCiD2
>
>
>
Yes, just for serving the responses.

If you're processing JSON, I'd take a look at using
Catalyst::Controller::REST and the JSON serializer and deserializer.
Otherwise, I would take a look at using JSON (which uses JSON::XS if
available).

-J
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to