NAME

App::Manoc::ControllerRole::JSONView - Role for adding JSON support for view and view list

VERSION

version 2.99.2

ACTIONS

view_js

list_js

METHODS

prepare_json_object

Get an hashref from a row.

get_json_object

Call prepare_json_object. Redefine this method for custom serialization.

AUTHORS

  • Gabriele Mambrini <gmambro@cpan.org>

  • Enrico Liguori

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Gabriele Mambrini.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.