perl-JSON-XS - JSON serialising/deserialising, done correctly and fast

Distribution: openSUSE 42.1
Repository: openSUSE Oss all
Package name: perl-JSON-XS
Package version: 3.01
Package release: 3.4
Package architecture: x86_64
Package type: rpm
Installed size: 243.36 KB
Download size: 96.09 KB
Official Mirror:
This module 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. Beginning with version 2.0 of the JSON module, when both JSON and JSON::XS are installed, then JSON will fall back on JSON::XS (this can be overridden) with no overhead due to emulation (by inheriting constructor and methods). If JSON::XS is not available, it will fall back to the compatible JSON::PP module as backend, so using JSON instead of JSON::XS gives you a portable JSON API that can be fast when you need and doesn't require a C compiler when that is a problem. 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. See MAPPING, below, on how JSON::XS maps perl values to JSON values and vice versa.




  • perl(JSON::XS) = 3.01
  • perl-JSON-XS = 3.01-3.4
  • perl-JSON-XS(x86-64) = 3.01-3.4


    Install Howto

    Install perl-JSON-XS rpm package:

    # zypper install perl-JSON-XS


    • /usr/bin/json_xs