package JSON::Diffable;
-use JSON ();
+use JSON::MaybeXS ();
use Exporter 'import';
-our $VERSION = '0.000001';
+our $VERSION = '0.000002'; # 0.0.2
+
$VERSION = eval $VERSION;
-my $real = JSON->new->relaxed->allow_nonref->utf8;
+my $real = JSON::MaybeXS->new->relaxed->allow_nonref->utf8;
our @EXPORT_OK = qw( encode_json decode_json );
my $json = encode_json($data);
-Turns a Perl data structure into relaxed JSON.
+Turns a Perl data structure into diffable JSON.
=head2 decode_json
Turns relaxed JSON into a Perl data structure.
+=head1 AUTHOR
+
+ Robert Sedlacek <r.sedlacek@shadowcat.co.uk>
+
=head1 SPONSORED
The development of this module was sponsored by L<http://socialflow.com/>.