NAME
JSON::JOM::Plugins::JsonT - transform a JOM structure with JsonT
DESCRIPTION
This JOM plugin adds the following method to JOM objects and arrays:
transform($jsont)
- transforms the node using JsonT, returning a string.transform_tojom($jsont)
- astransform
, but parses the result as JSON.transform_replace($jsont)
- astransform_tojom
, and replaces the node in its parent structure.
transform_replace
cannot be called on root nodes.
BUGS
Please report any bugs to http://rt.cpan.org/.
SEE ALSO
JSON::JOM, JSON::JOM::Plugins.
AUTHOR
Toby Inkster <tobyink@cpan.org>.
COPYRIGHT AND LICENCE
Copyright 2010-2011 Toby Inkster
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
DISCLAIMER OF WARRANTIES
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.