BSD Ports

converters/p5-JSON-XS-VersionOneAndTwo 0.31p2 OpenBSD

shim to support either v1 or v2 APIs of JSON::XS

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
converters, perl5

Description

JSON::XS is by far the best JSON module on the CPAN. However, it changed its API at version 2.01. If you have to maintain code which may be run on systems with either version one or two then this is a bit of a pain. This module takes the pain away without sacrificing performance.

In the other systems

SystemPortVersion
OpenBSDconverters/p5-JSON-XS-VersionOneAndTwo0.31p2
FreeBSDconverters/p5-JSON-XS-VersionOneAndTwo0.31_1
NetBSDconverters/p5-JSON-XS-VersionOneAndTwo0.31nb18
DragonFlyconverters/p5-JSON-XS-VersionOneAndTwo0.31_1
HardenedBSDconverters/p5-JSON-XS-VersionOneAndTwo0.31_1
GhostBSDconverters/p5-JSON-XS-VersionOneAndTwo0.31_1

Install

Binary package:

pkg_add p5-JSON-XS-VersionOneAndTwo

From the ports tree:

cd /usr/ports/converters/p5-JSON-XS-VersionOneAndTwo && make install

Dependencies

Run dependencies 1
Required by 1