wok diff perl-json/description.txt @ rev 25458
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 27 16:21:52 2022 +0000 (2022-09-27) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/perl-json/description.txt Tue Sep 27 16:21:52 2022 +0000 1.3 @@ -0,0 +1,17 @@ 1.4 +This module is a thin wrapper for JSON::XS-compatible modules with 1.5 +a few additional features. 1.6 +All the backend modules convert a Perl data structure to a JSON text 1.7 +and vice versa. 1.8 +This module uses JSON::XS by default, and when JSON::XS is not available, 1.9 +falls back on JSON::PP, which is in the Perl core since 5.14. 1.10 +If JSON::PP is not available either, this module then falls back on 1.11 +JSON::backportPP (which is actually JSON::PP in a different .pm file) 1.12 +bundled in the same distribution as this module. 1.13 +You can also explicitly specify to use Cpanel::JSON::XS, a fork of 1.14 +JSON::XS by Reini Urban. 1.15 + 1.16 +All these backend modules have slight incompatibilities between them, 1.17 +including extra features that other modules don't support, but as long as 1.18 +you use only common features (most important ones are described below), 1.19 +migration from backend to backend should be reasonably easy. 1.20 +For details, see each backend module you use.