converters/p5-JSON-MaybeXS 1.004008 FreeBSD
Use Cpanel::JSON::XS with a fallback to JSON::PP
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- converters, perl5
- Package size
- 16.7 KiB, 40.4 KiB installed
Description
JSON::MaybeXS 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.
It then exports the encode_json and decode_json functions from the loaded module, along with a JSON constant that returns the class name for calling new on.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | converters/p5-JSON-MaybeXS | 1.004008 |
| OpenBSD | converters/p5-JSON-MaybeXS | 1.004008 |
| NetBSD | converters/p5-JSON-MaybeXS | 1.004008 |
| DragonFly | converters/p5-JSON-MaybeXS | 1.004008 |
| MidnightBSD | converters/p5-JSON-MaybeXS | 1.004008 |
| HardenedBSD | converters/p5-JSON-MaybeXS | 1.004008 |
| GhostBSD | converters/p5-JSON-MaybeXS | 1.004008 |
Install
Binary package:
pkg install p5-JSON-MaybeXS
From the ports tree:
cd /usr/ports/converters/p5-JSON-MaybeXS/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-JSON-MaybeXS>0:converters/p5-JSON-MaybeXS
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.004008 | 1.004008 | 1.004004 | 1.004008 | 1.004008 |
| FreeBSD:14:quarterly | 1.004008 | 1.004008 | n/a | 1.004008 | 1.004008 |
| FreeBSD:15:latest | 1.004008 | 1.004008 | n/a | 1.004008 | 1.004008 |
| FreeBSD:15:quarterly | 1.004008 | 1.004008 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.004008 | 1.004008 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
p5-Cpanel-JSON-XS>=2.3310: converters/p5-Cpanel-JSON-XS
Runtime 1
p5-Cpanel-JSON-XS>=2.3310: converters/p5-Cpanel-JSON-XS
Test 3
p5-JSON-XS>=0: converters/p5-JSON-XSp5-Test-Needs>=0.002006: devel/p5-Test-Needsp5-Test-Without-Module>=0.17: devel/p5-Test-Without-Module
The full lists below include those, and their dependencies in turn.
Build dependencies 2
Run dependencies 2
Required by 345
- astro/p5-Astro-ADS
- databases/p5-CHI-Driver-Memcached
- databases/p5-CHI-Driver-Redis
- databases/p5-CHI-Driver-TokyoTyrant
- databases/p5-DBICx-Deploy
- databases/p5-DBICx-MapMaker
- databases/p5-DBICx-Sugar
- databases/p5-DBICx-TestDatabase
- databases/p5-DBIx-Class-DeploymentHandler
- databases/p5-DBIx-Class-InflateColumn-Serializer
- databases/p5-DBIx-Class-Migration
- databases/p5-DBIx-Class-ResultSet-RecursiveUpdate
- databases/p5-DBIx-NoSQL
- databases/p5-Dancer-Plugin-DBIC
- databases/p5-Dancer2-Plugin-DBIC
- databases/p5-Dancer2-Plugin-Database
- databases/p5-Dancer2-Session-DBIC
- databases/p5-GitDDL
- databases/p5-GitDDL-Migrator
- databases/p5-HTML-FormHandler-Model-DBIC
- databases/p5-Interchange6-Schema
- databases/p5-Redis-RateLimit
- databases/p5-SQL-Translator
- deskutils/remind
- devel/avro
- devel/p5-App-GitGot
- devel/p5-App-GitHub
- devel/p5-App-SD
- devel/p5-Avro
- devel/p5-CHI
- devel/p5-CHI-Driver-DBI
- devel/p5-CommitBit
- devel/p5-Dancer2-Plugin-LogReport
- devel/p5-Data-Sah
- devel/p5-Data-Sah-DefaultValue
- devel/p5-Data-Unixish
- devel/p5-Devel-NYTProf
- devel/p5-Dist-Zilla
- devel/p5-GraphQL
- devel/p5-JSON-Hyper
- devel/p5-JSON-Path
- devel/p5-JSON-RPC
- devel/p5-JSON-RPC-Dispatcher
- devel/p5-JSON-Schema
- devel/p5-Language-Expr
- devel/p5-Log-Any-App
- devel/p5-Log-Dispatchouli
- devel/p5-Log-Log4perl-Layout-JSON
- devel/p5-MetaCPAN-Client
- devel/p5-Module-CheckVersion
- devel/p5-Mojolicious-Plugin-NYTProf
- devel/p5-MooseX-Role-Loggable
- devel/p5-MooseX-Storage
- devel/p5-OrePAN2
- devel/p5-Paws
- devel/p5-Pithub
- devel/p5-SVN-Web
- devel/p5-Test-DBIx-Class
- devel/p5-Test-DependentModules
- devel/p5-Test-Fake-HTTPD
- devel/p5-Test-WWW-Mechanize-Catalyst
- devel/p5-Test-WWW-Mechanize-PSGI
- devel/p5-Test2-Harness
- devel/p5-Test2-Harness-UI
- dns/p5-Zonemaster-Backend
- finance/p5-Finance-Bitcoin
- graphics/p5-Chart-Clicker
- graphics/p5-Color-Palette
- graphics/p5-Geometry-Primitive
- graphics/p5-Graphics-Color
- graphics/p5-Graphics-Primitive
- graphics/p5-Graphics-Primitive-Driver-Cairo
- graphics/p5-Layout-Manager
- lang/p5-JSAN
- mail/p5-Dancer2-Plugin-Email
- mail/p5-Mail-Milter-Authentication
- misc/p5-Geo-Coder-OpenCage
- misc/p5-OpenAI-API
- multimedia/zoneminder
- net-im/twirssi
- net-mgmt/ocsinventory-server
- net-mgmt/smokeping
- net-p2p/eiskaltdcpp-cli
- net/p5-GeoIP2
- net/p5-Net-Connection-ncnetstat
- net/p5-Net-GitHub
- net/p5-Net-Google-DataAPI
- net/p5-Net-Google-Spreadsheets
- net/p5-Net-OAuth2
- net/p5-Net-Twitter
- net/p5-POE-Component-Server-Twirc
- net/p5-Twitter-API
- net/rdapper
- security/p5-Crypt-LE
- security/p5-Dancer2-Plugin-Auth-Extensible
- security/p5-Dancer2-Plugin-Auth-Extensible-Provider-DBIC
- security/p5-Dancer2-Plugin-Auth-Extensible-Provider-Database
- security/p5-Dancer2-Plugin-Auth-Extensible-Provider-IMAP
- security/p5-openxpki
- sysutils/p5-OpenTelemetry-Exporter-OTLP
The first 100 are listed.
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 2
- %%SITE_PERL%%/JSON/MaybeXS.pm
- %%PERL5_MAN3%%/JSON::MaybeXS.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| JSON-MaybeXS-1.004008.tar.gz | 24049 | cd3937afa78831f80a2ad5abab6c51b9e82fca4c31e5856ea208d598db5dc867 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.