Catalyst-View-JSON reviews

RSS | Module Info

Catalyst-View-JSON (0.24) ****

This is a really handy module for displaying views of your model as JSON -- if you've done things right in your controller (ie: not coded for a specific view), it just plugs in and works! It also reminds the user of common security problems when using JSON & has sensible defaults, another plus in my books.

I have found it a _bit_ annoying to have to sub-class to configure the JSON encoder (instead of say, a generic config variable like 'json_driver_params' where you could set 'utf8', 'convert_blessed' etc), but that's really a minor gripe. The only other feature I've found it missing is support for embedding responses in 'textarea' tags (for file upload support in iframes), which I've submitted a patch for.

All in all, a great module!