NAME
Data::Encoder::JSON - Data::Encoder gateway for JSON
SYNOPSIS
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);
AUTHOR
xaicron <xaicron {at} cpan.org>
COPYRIGHT
Copyright 2010 - xaicron
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.