converters/p5-JSON-MaybeXS 1.004008 DragonFly
Use Cpanel::JSON::XS with a fallback to JSON::PP
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- ART10, GPLv1+
- Categories
- converters, perl5
- Package size
- 16.1 KiB, 40.6 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 |
|---|---|---|
| DragonFly | converters/p5-JSON-MaybeXS | 1.004008 |
| FreeBSD | converters/p5-JSON-MaybeXS | 1.004008 |
| OpenBSD | converters/p5-JSON-MaybeXS | 1.004008 |
| NetBSD | 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 DPorts:
cd /usr/dports/converters/p5-JSON-MaybeXS && make install clean
Dependencies
Run dependencies 2
Required by 53
- databases/p5-DBIx-Class-InflateColumn-Serializer
- databases/p5-DBIx-Class-Migration
- databases/p5-Dancer2-Session-DBIC
- databases/p5-Interchange6-Schema
- databases/p5-Redis-RateLimit
- databases/p5-SQL-Translator
- deskutils/remind
- devel/p5-Avro
- devel/p5-CHI
- devel/p5-Data-Sah-DefaultValue
- devel/p5-Data-Unixish
- devel/p5-Devel-NYTProf
- devel/p5-Dist-Zilla
- devel/p5-GraphQL
- devel/p5-JSON-Path
- devel/p5-Language-Expr
- devel/p5-Log-Any-App
- devel/p5-Log-Log4perl-Layout-JSON
- devel/p5-MetaCPAN-Client
- devel/p5-Module-CheckVersion
- devel/p5-MooseX-Storage
- devel/p5-Paws
- devel/p5-Pithub
- devel/p5-Test2-Harness
- devel/p5-Test2-Harness-UI
- misc/p5-Geo-Coder-OpenCage
- misc/p5-OpenAI-API
- multimedia/zoneminder
- net/p5-GeoIP2
- net/p5-Net-GitHub
- net/p5-Net-OAuth2
- net/p5-Net-Twitter
- net/p5-POE-Component-Server-Twirc
- net/p5-Twitter-API
- security/p5-Crypt-LE
- sysutils/p5-Rex
- textproc/p5-Search-Elasticsearch
- textproc/p5-Search-Elasticsearch-Client-6_0
- textproc/p5-Search-Elasticsearch-Client-7_0
- textproc/p5-String-Flogger
- textproc/p5-Text-ANSITable
- www/p5-Catalyst-Action-REST
- www/p5-Catalyst-Runtime
- www/p5-Dancer2
- www/p5-Dancer2-Plugin-Interchange6
- www/p5-HTML-FormFu
- www/p5-HTML-FormHandler
- www/p5-HTTP-Entity-Parser
- www/p5-McBain-WithPSGI
- www/p5-Mojo-UserAgent-Mockable
- www/p5-Template-Plugin-JSON
- www/p5-WWW-Shorten-Bitly
- www/p5-WWW-Telegram-BotAPI