SlackBuilds Repository

14.2 > Perl > perl-JSON-MaybeXS (1.004000)

perl-JSON-MaybeXS (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 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.

Maintained by: Geno Bob
Keywords: perl,json,maybexs
ChangeLog: perl-JSON-MaybeXS

Homepage:
https://metacpan.org/pod/JSON::MaybeXS

Source Downloads:
JSON-MaybeXS-1.004000.tar.gz (db61fb5515f8e2f19709a317e26dde42)

Download SlackBuild:
perl-JSON-MaybeXS.tar.gz
perl-JSON-MaybeXS.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Validated for Slackware 14.2

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2021 SlackBuilds.org Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds