diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2013-11-06 18:57:15 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2013-11-06 18:57:15 +0000 |
commit | 88967f86683f5a81a2e3f79974630d016c429905 (patch) | |
tree | ec499c5ed8c79b2a5727e3fd22b4ced8f6d7ee4f /converters/p5-JSON-MaybeXS/pkg-descr | |
parent | f938e2c7bbcedd632876380a8a821d5abb37e33d (diff) | |
download | ports-88967f86683f5a81a2e3f79974630d016c429905.tar.gz ports-88967f86683f5a81a2e3f79974630d016c429905.zip |
Notes
Diffstat (limited to 'converters/p5-JSON-MaybeXS/pkg-descr')
-rw-r--r-- | converters/p5-JSON-MaybeXS/pkg-descr | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/converters/p5-JSON-MaybeXS/pkg-descr b/converters/p5-JSON-MaybeXS/pkg-descr new file mode 100644 index 000000000000..4d3d65e53a04 --- /dev/null +++ b/converters/p5-JSON-MaybeXS/pkg-descr @@ -0,0 +1,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: http://search.cpan.org/dist/JSON-MaybeXS/ |