Template::Plugin::SimpleJson - Simple JSON methods for Template Toolkit
[% USE SimpleJson %] [% scalar = SimpleJson.fromJson(json_text) %] [% text = SimpleJson.toJson(scalar) %]
This module implements some methods to manipulate json string, using JSON module
Converts a json string to a perl scalar
Converts a perl scalar to a json string
Fabio Masini <fabio.masini@gmail.com>
Copyright (C) 2009 Fabio Masini
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Template::Plugin::SimpleJson, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Template::Plugin::SimpleJson
CPAN shell
perl -MCPAN -e shell install Template::Plugin::SimpleJson
For more information on module installation, please visit the detailed CPAN module installation guide.