cpanel_json_xs
module for fast and correct serialising to JSON
Install
- All systems
-
curl cmd.cat/cpanel_json_xs.sh
- Debian
-
apt-get install libcpanel-json-xs-perl
- Ubuntu
-
apt-get install libcpanel-json-xs-perl
- Kali Linux
-
apt-get install libcpanel-json-xs-perl
- Fedora
-
dnf install perl-Cpanel-JSON-XS
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install libcpanel-json-xs-perl
- Raspbian
-
apt-get install libcpanel-json-xs-perl
- Dockerfile
- dockerfile.run/cpanel_json_xs
libcpanel-json-xs-perl
module for fast and correct serialising to JSON
Cpanel::JSON::XS converts Perl data structures to JSON and vice versa. Its primary goal is to be correct and its secondary goal is to be fast. To reach the latter goal it was written in C. As this is the n-th-something JSON module on CPAN, what was the reason to write yet another JSON module? While it seems there are many JSON modules, none of them correctly handle all corner cases, and in most cases their maintainers are unresponsive, gone missing, or not listening to bug reports for other reasons.