ad4f267b7a
search.cpan.org is shutting down. It will redirect to metacpan.org after June 25, 2018. With hat: perl
8 lines
356 B
Text
8 lines
356 B
Text
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.
|
|
|
|
WWW: https://metacpan.org/release/JSON-MaybeXS
|