libjson-maybexs-perl 1.004003-ok1 source package in openKylin
Changelog
libjson-maybexs-perl (1.004003-ok1) yangtze; urgency=medium * Build for openkylin. -- zhangyichun <email address hidden> Mon, 10 Oct 2022 13:51:14 +0800
libjson-maybexs-perl (1.004003-ok1) yangtze; urgency=medium * Build for openkylin. -- zhangyichun <email address hidden> Mon, 10 Oct 2022 13:51:14 +0800
Series | Published | Component | Section | |
---|---|---|---|---|
Yangtze V1.0 | release | main | perl | |
Yangtze V1.0 | proposed | main | perl |
File | Size | SHA-256 Checksum |
---|---|---|
libjson-maybexs-perl_1.004003.orig.tar.gz | 22.1 KiB | 5bee3b17ff9dcffd6e99ab8cf7f35747650bfce1dc622e3ad10b85a194462fbf |
libjson-maybexs-perl_1.004003-ok1.debian.tar.xz | 7.7 KiB | fa52d3144556629a9d7b39dbc8df07a1db7b8861a60cfa63010d957f26bc45eb |
libjson-maybexs-perl_1.004003-ok1.dsc | 1.9 KiB | fc228cb8a2b6f3db182901594f6c159e901b9ae2a6706f0ee9e59c23644cb70f |
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.