Octavian Râşniţă schrieb:
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.)

use JSON;

;)

my $json = new JSON;

my $object = $json->decode ($string);

my $string = $json->encode ($object);


(maybe there is some more elegant, but this does all the magic for the start)


Regards,
Neo [GC]

_______________________________________________
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