Data::Encoder::JSON - Data::Encoder gateway for JSON
use Data::Encoder; my $encoder = Data::Encoder->load('JSON'); my $json = $encoder->encode([qw/foo bar/]); my $data = $encoder->decode($json); my $encoder = Data::Encoder->load('JSON', { utf8 => 1, pretty => 1 }); ## JSON->new->utf8(1)->pretty(1);
xaicron <xaicron {at} cpan.org>
Copyright 2010 - xaicron
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
JSON
To install Data::Encoder, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Encoder
CPAN shell
perl -MCPAN -e shell install Data::Encoder
For more information on module installation, please visit the detailed CPAN module installation guide.