RSS | Module Info | Add a review of Catalyst-View-JSON
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!
Steve Purkis - 2008-04-26T12:15:59 (permalink)
4 out of 4 found this review helpful.
Was this review helpful to you?
Yes
No

