BSD Ports

converters/p5-JSON-MaybeXS 1.004008 NetBSD

Use Cpanel::JSON::XS with a fallback to JSON::PP

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
125c29f458
License
gnu-gpl-v2 OR artistic
Categories
converters, www, perl5
Package size
9.5 KiB, 21.4 KiB installed

Description

This module tries to load Cpanel::JSON::XS, and if that fails instead tries to load JSON::PP. If neither is available, an exception will be thrown.

In the other systems

SystemPortVersion
NetBSDconverters/p5-JSON-MaybeXS1.004008
FreeBSDconverters/p5-JSON-MaybeXS1.004008
OpenBSDconverters/p5-JSON-MaybeXS1.004008
DragonFlyconverters/p5-JSON-MaybeXS1.004008
MidnightBSDconverters/p5-JSON-MaybeXS1.004008
HardenedBSDconverters/p5-JSON-MaybeXS1.004008
GhostBSDconverters/p5-JSON-MaybeXS1.004008

Install

Binary package:

pkgin install p5-JSON-MaybeXS

From pkgsrc:

cd /usr/pkgsrc/converters/p5-JSON-MaybeXS && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_641.004008
NetBSD 10.1 aarch641.004004nb3
SmartOS / illumos x86_641.004008
macOS 15 arm641.004008

Dependencies

Run dependencies 2

Commit history 2

DateCommitCreditsLog message
125c29f458 wen Update to 1.004008
Upstream changes: 1.004008 - 2024-08-10 - improved boolean testing 1.004007 - 2024-08-03 - remove unneeded tests that fail on perls < 5.36 1.004006 - 2024-08-02 - is_bool() now recognizes core booleans (perl 5.36+). Note that JSON::PP 4.11 and Cpanel::JSON::XS 4.38 are required to properly encode them. 1.004005 - 2023-04-30 - to_json and from_json are now documented (Dan Book, PR #2)
618415630a wiz *: recursive bump for perl5 5.44.0