aboutsummaryrefslogtreecommitdiff
path: root/converters/p5-JSON-MaybeXS/pkg-descr
blob: cd93d82b76868c2c9e9d8470c92a69b7a105cff8 (plain) (blame)
1
2
3
4
5
6
7
8
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