libjson-maybexs-perl 1.004000-ok1 source package in openKylin
Changelog
libjson-maybexs-perl (1.004000-ok1) yangtze; urgency=medium * Build for openKylin. -- openKylinBot <email address hidden> Mon, 25 Apr 2022 22:03:04 +0800
libjson-maybexs-perl (1.004000-ok1) yangtze; urgency=medium * Build for openKylin. -- openKylinBot <email address hidden> Mon, 25 Apr 2022 22:03:04 +0800
Series | Published | Component | Section |
---|
File | Size | SHA-256 Checksum |
---|---|---|
libjson-maybexs-perl_1.004000.orig.tar.gz | 14.1 KiB | 59bda02e8f4474c73913723c608b539e2452e16c54ed7f0150c01aad06e0a126 |
libjson-maybexs-perl_1.004000-ok1.debian.tar.xz | 1.8 KiB | 6f0f80f812d63afa698048f794addd78eb468fcb3354ec9222852f9c3c886701 |
libjson-maybexs-perl_1.004000-ok1.dsc | 2.0 KiB | c45fc33881b93a8f2ad1a3362612c08c02163a1549dedd0ad6d6dcc83dbd8259 |
JSON::MaybeXS 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.