version bump
[scpubgit/JSON-Diffable.git] / lib / JSON / Diffable.pm
index c9cef45..c5baf94 100644 (file)
@@ -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</decode_json> 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 <r.sedlacek@shadowcat.co.uk>
+
 =head1 SPONSORED
 
 The development of this module was sponsored by L<http://socialflow.com/>.