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.