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

p5-JSON-MaybeXS

1.004008

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.

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

Dependencies (2)

Required By (56 packages)

More in converters