Name: | perl-JSON-MaybeXS |
---|---|
Version: | 1.004003 |
Release: | 1.el9 |
Architecture: | noarch |
Group: | Unspecified |
Size: | 43250 |
License: | GPL+ or Artistic |
RPM: | perl-JSON-MaybeXS-1.004003-1.el9.noarch.rpm |
Source RPM: | perl-JSON-MaybeXS-1.004003-1.el9.src.rpm |
Build Date: | Tue Feb 08 2022 |
Build Host: | build-ol9-x86_64.oracle.com |
Vendor: | Oracle America |
URL: | https://metacpan.org/release/JSON-MaybeXS |
Summary: | Use Cpanel::JSON::XS with a fallback to JSON::XS and JSON::PP |
Description: | 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. |
- Update to 1.004003 - Fix another test that fails when JSON::XS is installed, but below version 3.0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
- Perl 5.32 rebuild
- Update to 1.004002 - Fix test that fails when JSON::XS is installed, but below version 3.0 (CPAN RT#132578)
- Update to 1.004001 - Document when is_bool became available - Now favouring Cpanel::JSON::XS over JSON::XS in more situations (the former is always added to prereqs when a compiler is available, although JSON::XS is still used at runtime if new enough and Cpanel::JSON::XS is not installed); this makes boolean handling more predictable and consistent - Package LICENSE file - Use %{make_build} and %{make_install}
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
- Perl 5.30 rebuild
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild