JSON::Create::Bool(3)

πŸ“¦
version 0.36 Β· 4 versions
, in fedora 43

πŸ’– JSON::Create::Bool πŸ’–

okay bestie, welcome to the manual page for JSON::Create::Bool β€” that's the Perl module, section 3 of the User Contributed Perl Documentation, and yes she's a whole vibe πŸ’…


✨ NAME ✨

JSON::Create::Bool β€” literally just Booleans for JSON::Create πŸŽ€


🌸 SYNOPSIS 🌸

no thoughts, head empty, just copy this:

use JSON::Create::Bool;

my %thing = (yes => true, no => false);
print json_create (\%thing);

that's it. that's the whole plot πŸ¦‹


🫢 DESCRIPTION 🫢

so here's the tea β˜• β€” this module hands you substitute booleans for JSON::Create. they're little stand-in besties that exist for exactly one job.

fr fr, listen: these booleans are intended only to be used for generating "true" and "false" literals in JSON output. they don't work very well for other purposes. like, at all. they're giving one-trick-pony energy and honestly? that's fine, that's their lane πŸ‘‘

so if you want booleans that can be used for general purposes, please go try other modules β€” like boolean. she's the versatile main character, this one is the specialist πŸ’«


πŸŽ€ EXPORTS πŸŽ€

true and false are exported by default. no setup, no begging, they just show up. iconic behaviour, no cap ✨


πŸ’œ SEE ALSO πŸ’œ

go check the documentation for JSON::Create for the author, copyright, date, and version information β€” all the official lore lives over there 🏰


and that's the page!! 🌈 written for perl v5.42.2, dated 2026-04-07, and this is JSON::Create::Bool(3) signing off πŸ’– mwah, go slay your JSON output bestie 🫢✨

πŸ“¦ where this page comes from