Sophie

Sophie

distrib > Mageia > 6 > armv7hl > media > core-release-src > by-pkgid > 86bc71f0fa73c304b50913e59561a240

perl-JSON-MaybeXS-1.3.5-3.mga6.src.rpm

Description:

This module tries to load the Cpanel::JSON::XS manpage, and if that fails
instead tries to load the JSON::PP manpage. 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.

If you're writing fresh code rather than replacing JSON.pm usage, you might
want to pass options as constructor args rather than calling mutators, so
we provide our own 'new' method that supports that.

Generated packages:

Other version of this rpm: