perl-JSON-MaybeXS - Use L<Cpanel::JSON::XS> with a fallback to L<JSON::PP>

Distribution: ROSA 2014.1
Repository: ROSA Contrib x86_64
Package name: perl-JSON-MaybeXS
Package version: 1.1.0
Package release: 3-rosa2014.1
Package architecture: noarch
Package type: rpm
Installed size: 10.87 KB
Download size: 10.28 KB
Official Mirror:
This module tries to load the Cpanel::JSON::XS manpage, and if that fails instead tries to load the JSON::PP manpage. If neither is available, an exception will be thrown. 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 usage, you might want to pass options as constructor args rather than calling mutators, so we provide our own 'new' method that supports that.


  • perl(JSON::MaybeXS) == 1.1.0
  • perl-JSON-MaybeXS == 1.1.0-3:2014.1

    Install Howto

    1. Enable ROSA Contrib repository on Install and Remove Software"
    2. Update packages list:
      # urpmi.update -a
    3. Install perl-JSON-MaybeXS rpm package:
      # urpmi perl-JSON-MaybeXS


    • /usr/lib/perl5/vendor_perl/5.18.2/JSON/
    • /usr/share/doc/perl-JSON-MaybeXS/Changes
    • /usr/share/doc/perl-JSON-MaybeXS/META.json
    • /usr/share/doc/perl-JSON-MaybeXS/META.yml
    • /usr/share/doc/perl-JSON-MaybeXS/README
    • /usr/share/man/man3/JSON::MaybeXS.3pm.xz


    2014-07-25 - Denis Silakov <> 1.1.0-3 + Revision: a0323f4 - MassBuild#464: Increase release tag