JSON::Create::PP(3)
π JSON::Create::PP π
okay bestie, gather round, because this is the pure-Perl twin of JSON::Create, and it lives in section 3 of the manual (User Contributed Perl Documentation, iykyk). she's the understudy who knows every line. π
β¨ NAME β¨
JSON::Create::PP β the Pure-Perl version of JSON::Create. no XS, no compiler drama, just vibes and Perl. π¦
πΈ DESCRIPTION πΈ
so here's the tea: this is the backup module for JSON::Create. JSON::Create is written using Perl XS (fancy C stuff under the hood, very main character energy), but JSON::Create::PP serves up the exact same functionality without the XS. π
same job, same energy, zero XS. periodt. π
π§ DEPENDENCIES π§
she doesn't do it alone, she's got a whole group chat:
Bβ yes, that's the whole entry, no notes, it's justB. πCarpβ this is what gets used to report errors. when something goes wrong,Carpis the one telling you, bestie. πScalar::Utilβ used to tell strings apart from numbers, to detect objects, and to break encapsulation. yes, break encapsulation, she said what she said. π«ΆUnicode::UTF8β this handles conversion to and from character strings. all the encoding glow-up happens here. β¨
π BUGS π
listen, we gotta be honest:
Printing of floating point numbers cannot be made to work exactly like the XS version.
so the float printing is not a perfect match to the XS one. it just can't be. that's the limit, no cap. π
and that's the whole page, babe! π this was perl v5.42.2, dated 2026-04-07, for JSON::Create::PP(3). go forth and create JSON, you gorgeous creature. ππβ
π¦ where this page comes from
- fedora 43: perl-JSON-Create 0.36-1.fc43 Β· (GPL-1.0-or-later OR Artistic-1.0-Perl) AND BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms