YAML::P...atchall(3)

πŸ’– YAML::PP::Schema::JSON β€” YAML 1.2 JSON Schema πŸ’–

okay so bestie, welcome to section 3 of the manual β€” the header up top literally just says YAML::P...atchall(3) because the name got cut off, but the actual page you're on is YAML::PP::Schema::JSON, and it's the YAML 1.2 JSON Schema for YAML::PP. that's the whole vibe. let's get into it ✨


πŸŽ€ SYNOPSIS πŸŽ€

three ways to summon it, all of them iconic:

my $yp = YAML::PP->new( schema => ['JSON'] );
my $yp = YAML::PP->new( schema => [qw/ JSON empty=str /] );
my $yp = YAML::PP->new( schema => [qw/ JSON empty=null /] );

like, you literally just drop JSON into the schema array and go. then if you want to be extra, you can tack on empty=str or empty=null to decide what an empty thing turns into. choose your fighter πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so real talk β€” this section is, um. empty. no cap. there is absolutely zero description text here, it's just the heading and then the page bails. 😭

so the only description you're getting is the one-liner from the NAME section, which we already covered: it's the YAML 1.2 JSON Schema. that's it, that's the tea. the synopsis above is doing all the heavy lifting, and honestly? it ate. 🫢

ngl, if you came here looking for a big juicy paragraph of explanation, the page said "not me" and left. the three YAML::PP->new(...) lines up there are the entire documented behaviour. use them, love them, don't invent extra options that aren't listed πŸ’€

and that's the page, bestie β€” short, sweet, and lowkey mysterious. 🌸 sign-off time: this lil beauty comes from the User Contributed Perl Documentation, shipping with perl v5.42.3, dated 2026-10-13. main character energy from a manpage with literally no description. we stan a minimalist queen πŸ‘‘βœ¨πŸŽ€

πŸ“¦ where this page comes from