[Catalyst] Using JSON

Oliver Charles oliver.g.charles at googlemail.com
Tue Apr 14 15:14:44 GMT 2009


2009/4/14 Octavian Râşniţă <orasnita at gmail.com>:
> Hi,
>
> What's the recommended module for getting a JSON request and creating a JSON
> response in a Catalyst app?
> (I want to use them with JQuery.)

At $work we use Catalyst::View::JSON [1] - which does the job fine for
us. For parsing JSON objects, I guess JSON::XS is your best option [2]
- but there are a few JSON related modules on CPAN.

-- 
    Oliver Charles / aCiD2

[1]: http://search.cpan.org/~miyagawa/Catalyst-View-JSON
[2]: http://search.cpan.org/~mlehmann/JSON-XS



More information about the Catalyst mailing list