Fork CPanel de JSON::XS, serialização rápida e correta
Este módulo converte estruturas de dados Perl para JSON e vice-versa. O seu objetivo principal é ser _correto_ e o secundário é ser _rápido_. Para atingir este último objetivo, foi escrito em C.
Como este é o n-ésimo módulo JSON no CPAN, qual foi a razão para escrever ainda outro módulo JSON? Embora pareça haver muitos módulos JSON, nenhum deles trata corretamente todos os casos limite, e na maioria dos casos os seus maintainers não respondem, desapareceram, ou não escutam os relatórios de bugs por outras razões.
Veja abaixo o fork cPanel.
Veja MAPPING, abaixo, sobre como Cpanel::JSON::XS mapeia valores perl para valores JSON e vice-versa.
Cada linha é metadado do índice de pacotes para uma versão, arquitetura, suite e repositório. Nomes, URLs e tamanhos vêm da fonte; um link é um ponto de obtenção mutável, não uma redistribuição da OpenFactory.
Dependencies and recommendations for perl-Cpanel-JSON-XS
dep: /usr/bin/perl
Package not available
dep: ld-linux-aarch64.so.1()(64bit)
Package not available
dep: ld-linux-aarch64.so.1(GLIBC_2.17)(64bit)
Package not available
dep: perl(:MODULE_COMPAT_5.42.0)
Package not available
dep: libc.so.6(GLIBC_2.17)(64bit)
Package not available
Caminhos de arquivo do pacote (50)
Paths come from the repository package-file index for the observed builds. They describe archive/package associations, not every file that will exist on a running system after maintainer scripts, alternatives, generated state, diversions, or installation choices.
Cpanel::JSON::XS versions from 4.51 before 4.80 for Perl allow quadratic CPU use by revalidating the remaining buffer per value in incr_parse.
At the first non-ASCII byte in a string, the decoder val
Cpanel::JSON::XS versions from 4.43 before 4.80 for Perl misorder byte-string keys during canonical encoding in utf16_cmp.
canonical sorts keys by UTF-16 code units. When any key in a hash is UTF-8 f
Cpanel::JSON::XS versions before 4.80 for Perl use freed filter callbacks when a filter removes itself during decoding in decode_hv.
A decode copies the parser's filter_json_object and filter_json_si
Cpanel::JSON::XS versions before 4.80 for Perl leak the decoded arguments of a tagged value when its THAW method dies in decode_tag.
With allow_tags, a tagged value's class name and argument array ar
Cpanel::JSON::XS versions from 3.0202 before 4.80 for Perl leak memory and retain overloaded objects when encoding values as strings in encode_stringify.
encode_stringify writes a value in its string
Cpanel::JSON::XS versions from 4.42 before 4.80 for Perl let input chunking change the decoded value of top-level numbers in incr_parse.
allow_nonref is enabled by default and incr_parse inherits it.
Cpanel::JSON::XS versions before 4.80 for Perl use the parent interpreter's scalars from a parser object cloned into a new ithread.
A parser object holds its callbacks and its incremental parse buffe
Cpanel::JSON::XS versions from 4.20 before 4.80 for Perl write out of bounds when a tied or shared hash grows during canonical encoding in encode_hv.
With canonical, the keys of a tied or threads::sh
Cpanel::JSON::XS versions before 4.80 for Perl allow memory exhaustion by buffering incremental input past max_size in incr_parse.
The parser appends each chunk to its buffer. In scalar or list conte
Cpanel::JSON::XS versions from 4.28 before 4.80 for Perl leak the array collecting duplicate key values under dupkeys_as_arrayref in decode_hv.
With dupkeys_as_arrayref, the values of a duplicate obj
Cpanel::JSON::XS versions before 4.80 for Perl allow memory exhaustion by encoding exponent notation as full decimal digits under allow_bignum.
With allow_bignum, a JSON number with a fraction or exp
Cpanel::JSON::XS versions from 4.33 before 4.80 for Perl accept malformed UTF-8 in bare hash keys under allow_barekey in decode_hv.
With utf8 and allow_barekey, which relaxed enables, a quoted key is
Cpanel::JSON::XS versions from 4.33 before 4.80 for Perl miss duplicate non-ASCII bare keys, allowing type confusion under dupkeys_as_arrayref in decode_hv.
With allow_barekey, which relaxed enables,
Cpanel::JSON::XS versions before 4.80 for Perl allow stack exhaustion via nested tagged values under allow_tags in decode_tag.
With allow_tags, "(" starts a tagged value. Its tag and value are decode
Cpanel::JSON::XS versions before 4.80 for Perl leak the decoded key of an object rejected for a duplicate key or a missing colon in decode_hv.
A quoted key of 24 or more bytes, or one containing a no
Cpanel::JSON::XS versions before 4.41 for Perl allow type confusion via duplicate object keys when dupkeys_as_arrayref is enabled.
decode_hv() collapses duplicate object keys into an array reference
Repository signatures authenticate metadata. Artifact hashing is recorded separately. Neither establishes package safety.
4.420.0-bp160.1.1 / aarch64Observado Sep 1, 2026sha512 1fdd616d9b8a…12a63ce7Resumo da fonte
Metadata observed; artifact bytes were not independently fetched or hashed by this catalog import. The digest below is source-reported.
Resumo da fonte (sha512): 1fdd616d9b8af8248a770ef3091132316113ad65edc5722fe021df86ab0510f082dc0a942066525e6d5eba89e38ebe5cb52b5e8cb39a27a7750a525812a63ce7
4.420.0-bp160.1.1 / ppc64leObservado Sep 1, 2026sha512 c570c52869cf…7a9fee74Resumo da fonte
Metadata observed; artifact bytes were not independently fetched or hashed by this catalog import. The digest below is source-reported.
Resumo da fonte (sha512): c570c52869cffca9b9eb87600e251fe89ebdb696df77eb8833322049c06bec01af032f9aaa37c1157d76fe3e717b0d2535fcb910858088bfd811b9927a9fee74
4.420.0-bp160.1.1 / s390xObservado Sep 1, 2026sha512 bccf3894bece…5f73fb8bResumo da fonte
Metadata observed; artifact bytes were not independently fetched or hashed by this catalog import. The digest below is source-reported.
Resumo da fonte (sha512): bccf3894becea5c01f3085626006ff509c9569a0b1cd68707d86b9ae51c2d4ff4a555f3230758bc041ab6a5f4d9df66329b7ac59e421e9967f77cf625f73fb8b
4.420.0-bp160.1.1 / x86_64Observado Sep 1, 2026sha512 e1c79bc1876b…feacaddbResumo da fonte
Metadata observed; artifact bytes were not independently fetched or hashed by this catalog import. The digest below is source-reported.
Resumo da fonte (sha512): e1c79bc1876ba8419f84ecd1f5f34d925ed0eaf9459b98b1205805cfd44053c05ee278e2004778f7207841a69d5f1c8035fd35c3cc6464babb0cbffcfeacaddb
4.380.0-bp160.1.13 / aarch64Observado Sep 1, 2026sha512 d0510567d22b…9fd5cfb2Resumo da fonte
Metadata observed; artifact bytes were not independently fetched or hashed by this catalog import. The digest below is source-reported.
Resumo da fonte (sha512): d0510567d22bd94126b449efee742f6b2aa53be8c40f5100df8979670fcc7f1259855f0286a24009d60e3c3d57e46af95df5ac30316ef2bb10e865959fd5cfb2
4.380.0-bp160.1.13 / ppc64leObservado Sep 1, 2026sha512 aa6e23363978…bf9ba9d2Resumo da fonte
Metadata observed; artifact bytes were not independently fetched or hashed by this catalog import. The digest below is source-reported.
Resumo da fonte (sha512): aa6e23363978a465941f58dbb5130669d888069865a77132812b9432a1d452d6edbdc92222e659a1c1b839d598748644505e4390b6c9a0233bf7742ebf9ba9d2
4.380.0-bp160.1.13 / s390xObservado Sep 1, 2026sha512 c35807050c11…b713b22bResumo da fonte
Metadata observed; artifact bytes were not independently fetched or hashed by this catalog import. The digest below is source-reported.
Resumo da fonte (sha512): c35807050c11c35f54e5f230e08056ba595e27f287b2a5a6bc82dfcb8aab6673a90bf3066b53b68591f787b152e8b408efd8f668af1182bf691ef82ab713b22b
4.380.0-bp160.1.13 / x86_64Observado Sep 1, 2026sha512 33e940fa10d3…5774af1dResumo da fonte
Metadata observed; artifact bytes were not independently fetched or hashed by this catalog import. The digest below is source-reported.
Resumo da fonte (sha512): 33e940fa10d3b08cdfc13548e10dad2bb25fa73278cf4af4fb6aabb136bcc8807f130fe4a4ec9c9f0bc7e903a32af3a12c274d52bcadd12b9481c89f5774af1d
O OpenFactory pode iniciar este sistema operacional em uma máquina virtual do navegador, ou começar uma construção que inclui o nome nativo do pacote deste registro.