Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-JSON-MaybeXS | Distribution: openSUSE Leap 16.0 |
Version: 1.004008 | Vendor: openSUSE |
Release: lp160.1.1 | Build date: Sun Aug 11 07:28:46 2024 |
Group: Unspecified | Build host: reproducible |
Size: 46860 | Source RPM: perl-JSON-MaybeXS-1.004008-lp160.1.1.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://metacpan.org/release/JSON-MaybeXS | |
Summary: Use Cpanel::JSON::XS with a fallback to JSON::XS and JSON::PP |
This module first checks to see if either Cpanel::JSON::XS or JSON::XS (at at least version 3.0) 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.
Artistic-1.0 OR GPL-1.0-or-later
* Sun Aug 11 2024 Tina Müller <timueller+perl@suse.de> - updated to 1.004008 see /usr/share/doc/packages/perl-JSON-MaybeXS/Changes 1.004008 - 2024-08-10 - improved boolean testing 1.004007 - 2024-08-03 - remove unneeded tests that fail on perls < 5.36 1.004006 - 2024-08-02 - is_bool() now recognizes core booleans (perl 5.36+). Note that JSON::PP 4.11 and Cpanel::JSON::XS 4.38 are required to properly encode them. * Mon May 01 2023 Tina Müller <timueller+perl@suse.de> - updated to 1.004005 see /usr/share/doc/packages/perl-JSON-MaybeXS/Changes 1.004005 - 2023-04-30 - to_json and from_json are now documented (Dan Book, PR #2) * Tue Sep 27 2022 Tina Müller <timueller+perl@suse.de> - updated to 1.004004 see /usr/share/doc/packages/perl-JSON-MaybeXS/Changes 1.004004 - 2022-09-17 - slight speed optimization for is_bool() * Sat Nov 14 2020 Tina Müller <timueller+perl@suse.de> - updated to 1.004003 see /usr/share/doc/packages/perl-JSON-MaybeXS/Changes 1.004003 - 2020-11-13 - fix another test that fails when JSON::XS is installed, but below version 3.0 * Mon May 18 2020 Tina Müller <timueller+perl@suse.de> updated to 1.004002 see /usr/share/doc/packages/perl-JSON-MaybeXS/Changes 1.004002 - 2020-05-17 - fix test that fails when JSON::XS is installed, but below version 3.0 (RT#132578) * Sat May 02 2020 Tina Müller <timueller+perl@suse.de> updated to 1.004001 see /usr/share/doc/packages/perl-JSON-MaybeXS/Changes 1.004001 - 2020-05-01 - 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. * Fri Apr 20 2018 coolo@suse.com - updated to 1.004000 see /usr/share/doc/packages/perl-JSON-MaybeXS/Changes 1.004000 - 2018-04-19 - added true and false subs so they can be used via JSON::MaybeXS rather than only JSON() exported sub. * Wed Feb 07 2018 coolo@suse.com - updated to 1.003010 see /usr/share/doc/packages/perl-JSON-MaybeXS/Changes 1.003010 - 2018-01-28 - use bundled ExtUtils::HasCompiler rather than ExtUtils::CBuilder to detect compiler availability. - clarify exported JSON in documentation * Tue Feb 28 2017 coolo@suse.com - updated to 1.003009 see /usr/share/doc/packages/perl-JSON-MaybeXS/Changes 1.003009 - 2017-02-27 - fix tests to no longer rely on . being in @INC (RT#120404) * Tue Oct 04 2016 coolo@suse.com - updated to 1.003008 see /usr/share/doc/packages/perl-JSON-MaybeXS/Changes 1.003008 - 2016-10-03 - added an INSTALLATION section to documentation, to clarify the use of dynamic prerequisites in Makefile.PL - minimize prereqs listed in META.json to avoid giving the appearance of XS prerequisites, and confusing static inspection tools such as metacpan.org. * Tue Sep 13 2016 coolo@suse.com - updated to 1.003007 see /usr/share/doc/packages/perl-JSON-MaybeXS/Changes * Mon Sep 12 2016 coolo@suse.com - updated to 1.003007 see /usr/share/doc/packages/perl-JSON-MaybeXS/Changes 1.003007 - 2016-09-11 - no changes since 1.003006_001 1.003006_001 - 2016-06-28 - bump prereq on JSON::PP, to ensure we get the fix for parsing utf8-encoded values - we now always upgrade JSON::XS if it is installed and below version 3.0, due to changes in handling booleans - remove test dependency on Test::Without::Module (RT#115394) * Mon Apr 13 2015 coolo@suse.com - updated to 1.003005 see /usr/share/doc/packages/perl-JSON-MaybeXS/Changes * Mon Feb 24 2014 coolo@suse.com - initial package 1.001000 * created by cpanspec 1.78.07
/usr/lib/perl5/vendor_perl/5.38.2/JSON /usr/lib/perl5/vendor_perl/5.38.2/JSON/MaybeXS.pm /usr/share/doc/packages/perl-JSON-MaybeXS /usr/share/doc/packages/perl-JSON-MaybeXS/Changes /usr/share/doc/packages/perl-JSON-MaybeXS/README /usr/share/licenses/perl-JSON-MaybeXS /usr/share/licenses/perl-JSON-MaybeXS/LICENSE /usr/share/man/man3/JSON::MaybeXS.3pm.gz
Generated by rpm2html 1.8.1
Fabrice Bellet, Wed Jan 29 23:28:34 2025