X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=scpubgit%2FJSON-Diffable.git;a=blobdiff_plain;f=lib%2FJSON%2FDiffable.pm;h=c5baf941840a0e16708731f3a15357a6b671103c;hp=c9cef45a25426c18eeaa9ba84bd2144179cc6184;hb=6fce5e0f9bcff68eca91fed13b3c881bb62ee1f9;hpb=381475799f04145f9eb980eaee063d72b2b7c680 diff --git a/lib/JSON/Diffable.pm b/lib/JSON/Diffable.pm index c9cef45..c5baf94 100644 --- a/lib/JSON/Diffable.pm +++ b/lib/JSON/Diffable.pm @@ -4,13 +4,14 @@ use strictures 1; 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 ); @@ -94,7 +95,7 @@ L function. my $json = encode_json($data); -Turns a Perl data structure into relaxed JSON. +Turns a Perl data structure into diffable JSON. =head2 decode_json @@ -102,6 +103,10 @@ Turns a Perl data structure into relaxed JSON. Turns relaxed JSON into a Perl data structure. +=head1 AUTHOR + + Robert Sedlacek + =head1 SPONSORED The development of this module was sponsored by L.