FreeBSD.software
Home/converters/p5-JSON-MaybeXS

p5-JSON-MaybeXS

1.004008converters

Use Cpanel::JSON::XS with a fallback to JSON::PP

JSON::MaybeXS tries to load Cpanel::JSON::XS, and if that fails instead tries to load JSON::PP. 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.

$pkg install p5-JSON-MaybeXS
metacpan.org/release/JSON-MaybeXS
Origin
converters/p5-JSON-MaybeXS
Size
40.4KiB
License
ART10, GPLv1+
Maintainer
sunpoet@FreeBSD.org
Dependencies
2 packages
Required by
56 packages

Dependencies (2)

Required By (56)