BSD Ports

converters/p5-JSON-XS 4.04 MidnightBSD

JSON serialising/deserialising, done correctly and fast

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
artistic, gpl+
Categories
converters, perl5

Description

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.

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.

In the other systems

The newest version among them is 4.04, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDconverters/p5-JSON-XS4.04 newestno data-[email protected]-
FreeBSDconverters/p5-JSON-XS4.04 newestnone known-[email protected]-
OpenBSDconverters/p5-JSON-XS4.04v1 newestno data-Alexander Bluhm <[email protected]>-
NetBSDconverters/p5-JSON-XS4.04nb1 newestnone known-[email protected]2026-07-16
DragonFlyconverters/p5-JSON-XS4.03none known-[email protected]-
HardenedBSDconverters/p5-JSON-XS4.04 newestno data-[email protected]-
GhostBSDconverters/p5-JSON-XS4.04 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

mport install p5-JSON-XS

From mports:

cd /usr/mports/converters/p5-JSON-XS && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-JSON-XS>0:converters/p5-JSON-XS

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

As this port's Makefile names them.

Build 2

Runtime 2

Build dependencies 2
Run dependencies 2

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 7
  • bin/json_xs
  • %%SITE_ARCH%%/JSON/XS.pm
  • %%SITE_ARCH%%/JSON/XS/Boolean.pm
  • %%SITE_ARCH%%/auto/JSON/XS/XS.so
  • %%PERL5_MAN1%%/json_xs.1.gz
  • %%PERL5_MAN3%%/JSON::XS.3.gz
  • %%PERL5_MAN3%%/JSON::XS::Boolean.3.gz
distinfo 1
FileSizeSHA256
JSON-XS-4.04.tar.gz870828eff1e9f304c5625b59ab7b42258415f6d3e3681c1ddab6b725518a018a7f5e0
Master sites 1
  • CPAN