Revision history for JSON-MaybeXS
- fix "can I haz XS?" logic precedence in Makefile.PL
+ - added the ':all' export tag
1.002004 - 2014-10-11
- support use of PUREPERL_ONLY in Makefile.PL to avoid adding an XS
our @EXPORT = qw(encode_json decode_json JSON);
our @EXPORT_OK = qw(is_bool);
+our %EXPORT_TAGS = ( all => [ @EXPORT, @EXPORT_OK ] );
sub JSON () { our $JSON_Class }
use JSON::MaybeXS qw(JSON); # JSON constant only
+To import all available symbols, use C<:all>:
+
+ use JSON::MaybeXS ':all';
+
=head2 encode_json
This is the C<encode_json> function provided by the selected implementation