Sun, 08 Nov 2026 20:39:16 UTC Log in
Use Cpanel::JSON::XS with a fallback to JSON::XS and JSON::PP 26.90 KB built 2026-10-16 20:48:58 GMT

Description

This module first checks to see if either Cpanel::JSON::XS or JSON::XS is already loaded, in which case it uses that module. Otherwise it tries to load Cpanel::JSON::XS, then JSON::XS, then JSON::PP in order, and either uses the first module it finds or throws an error. 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. If you're writing fresh code rather than replacing JSON.pm usage, you might want to pass options as constructor args rather than calling mutators, so we provide our own "new" method that supports that.

Dependencies

17 total
Requires15
  • perl(Carp)
  • perl(Cpanel::JSON::XS) >= 4.38
  • perl(Exporter)
  • perl(Scalar::Util)
  • perl(base)
  • perl(constant)
  • perl(experimental)
  • perl(if)
  • perl(strict)
  • perl(warnings)
  • perl-libs
  • rpmlib(CompressedFileNames) <= 3.0.4-1
  • rpmlib(FileDigests) <= 4.6.0-1
  • rpmlib(PayloadFilesHavePrefix) <= 4.0-1
  • rpmlib(PayloadIsZstd) <= 5.4.18-1
Provides2
  • perl(JSON::MaybeXS) = 1.004008
  • perl-JSON-MaybeXS = 1.004008-6.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances

Files

8
Files 1–8 of 8

Component of

buildroots that installed this RPM
Buildroot descending sort Created State
f45-build-54804-937 2026-10-30 00:14:09 expired
f45-build-52886-913 2026-10-29 19:18:10 expired
f45-build-50192-888 2026-10-29 13:04:33 expired
f45-build-46747-857 2026-10-29 02:15:40 expired
f45-build-38452-723 2026-10-18 05:29:22 expired
f45-build-34575-687 2026-10-17 19:36:53 expired
f45-build-29129-635 2026-10-17 06:06:25 expired
f45-build-27691-625 2026-10-17 02:53:57 expired
f45-build-27685-625 2026-10-17 02:51:53 expired
f45-build-27679-625 2026-10-17 02:50:48 expired
f45-build-27537-624 2026-10-17 02:36:26 expired
f45-build-27518-624 2026-10-17 02:35:23 expired
f45-build-27506-624 2026-10-17 02:32:06 expired
f45-build-27487-624 2026-10-17 02:30:21 expired
f45-build-27470-624 2026-10-17 02:30:19 expired
f45-build-27266-621 2026-10-17 02:09:35 expired
f45-build-27000-620 2026-10-17 01:40:47 expired
f45-build-26948-620 2026-10-17 01:38:27 expired
f45-build-26945-620 2026-10-17 01:38:26 expired
f45-build-26901-619 2026-10-17 01:32:15 expired
f45-build-26744-618 2026-10-17 01:15:46 expired
f45-build-26742-618 2026-10-17 01:15:45 expired
f45-build-26692-618 2026-10-17 01:09:35 expired
f45-build-26661-618 2026-10-17 01:05:24 expired
f45-build-26517-617 2026-10-17 00:51:06 expired
f45-build-26509-617 2026-10-17 00:48:04 expired
f45-build-26447-617 2026-10-17 00:42:57 expired
f45-build-26329-616 2026-10-17 00:29:29 expired
f45-build-26318-616 2026-10-17 00:29:20 expired
f45-build-26302-616 2026-10-17 00:26:08 expired
f45-build-26298-616 2026-10-17 00:25:20 expired
f45-build-26200-616 2026-10-17 00:18:05 expired
f45-build-26163-614 2026-10-17 00:12:03 expired
f45-build-26123-614 2026-10-17 00:05:42 expired
f45-build-25968-613 2026-10-16 23:52:15 expired
f45-build-25936-613 2026-10-16 23:45:46 expired
f45-build-25920-613 2026-10-16 23:44:18 expired
f45-build-25912-613 2026-10-16 23:44:17 expired
f45-build-25895-613 2026-10-16 23:44:08 expired
f45-build-25894-613 2026-10-16 23:44:08 expired
f45-build-25890-613 2026-10-16 23:44:04 expired
f45-build-25889-613 2026-10-16 23:44:04 expired
f45-build-25879-613 2026-10-16 23:41:04 expired
f45-build-25874-613 2026-10-16 23:40:53 expired
f45-build-25842-613 2026-10-16 23:38:58 expired
f45-build-25833-613 2026-10-16 23:38:55 expired
f45-build-25370-610 2026-10-16 22:45:44 expired
f45-build-25188-609 2026-10-16 22:30:09 expired
f45-build-25173-609 2026-10-16 22:26:55 expired
f45-build-25013-607 2026-10-16 22:13:19 expired
Buildroots 1–50 of 57 Next →
of 2