Commit Graph

12 Commits

Author SHA1 Message Date
Paul Howarth
6837b598f9 Update to 1.003005
- New upstream release 1.003005
  - Fix x_contributors metadata that was killing metacpan (see
    https://github.com/CPAN-API/cpan-api/issues/401)
2015-03-23 16:28:49 +00:00
Paul Howarth
9b3d058d17 Update to 1.003004
- New upstream release 1.003004
  - Caveat added to documentation about type checking the object returned by
    new() (CPAN RT#102733)
2015-03-15 16:25:04 +00:00
Paul Howarth
44f9bfe1c8 Update to 1.003003
- New upstream release 1.003003
  - Ensure an old Cpanel::JSON::XS is upgraded if it is too old, as it will
    always be used in preference to JSON::XS
  - Avoid "JSON::XS::Boolean::* redefined" warnings caused by an old JSON::XS
    loaded at the same time as a newer Cpanel::JSON::XS
2014-12-08 14:52:56 +00:00
Paul Howarth
b519b05720 Update to 1.003002
- New upstream release 1.003002
  - Correctly fix boolean interoperability with older Cpanel::JSON::MaybeXS
2014-11-16 23:02:31 +00:00
Paul Howarth
89a1b52d09 Update to 1.003001
- New upstream release 1.003001
  - Add :legacy tag to support legacy apps
  - Fix boolean interoperability with older Cpanel::JSON::MaybeXS
2014-11-13 17:31:09 +00:00
Paul Howarth
81c667448c Update to 1.002006
- New upstream release 1.002006
  - Add some additional test diagnostics, to help find bad version combinations
    of JSON backends
2014-10-22 18:52:48 +01:00
Paul Howarth
d2ba6415f5 Update to 1.002005
- New upstream release 1.002005
  - Fix "can I haz XS?" logic precedence in Makefile.PL
  - Added the ':all' export tag
  - Removed dependency on Safe::Isa
  - Repository moved to git://git.shadowcat.co.uk/p5sagit/JSON-MaybeXS.git
2014-10-15 18:10:14 +01:00
Paul Howarth
dca1ccbe39 Update to 1.002004
- New upstream release 1.002004
  - Support use of PUREPERL_ONLY in Makefile.PL to avoid adding an XS
    dependency
  - New is_bool() interface
2014-10-14 12:17:36 +01:00
Paul Howarth
8234ad6e74 Update to 1.002003
- New upstream release 1.002003
  - Document how to use booleans
2014-10-08 11:32:30 +01:00
Jitka Plesnikova
6739cc9a8f Perl 5.20 rebuild 2014-08-29 21:13:26 +02:00
Dennis Gilmore
fb4f1b3729 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 00:55:34 -05:00
Paul Howarth
e7c970bcac Initial import (perl-JSON-MaybeXS-1.002002-2)
This module first checks to see if either Cpanel::JSON::XS or JSON::XS
is already loaded, in which case it uses that module. Otherwise it tries
to load Cpanel::JSON::XS, then JSON::XS, then JSON::PP in order, and
either uses the first module it finds or throws an error.

It then exports the "encode_json" and "decode_json" functions from the
loaded module, along with a "JSON" constant that returns the class name
for calling "new" on.

If you're writing fresh code rather than replacing JSON.pm usage, you
might want to pass options as constructor args rather than calling
mutators, so we provide our own "new" method that supports that.
2014-05-12 13:49:29 +01:00