JSON::...raints(3pm)
π JSON::RPC::Common::TypeConstraints β the type constraint library, bestie π
perl(3pm) vibes, user-contributed Perl documentation, and yes she's a whole queen. This is JSON::RPC::Common::TypeConstraints, aka the little module that hands you type constraints like it's passing you a matcha latte. β¨
πΈ NAME πΈ
JSON::RPC::Common::TypeConstraints β it's a type constraint library, fr fr. That's the whole job description and she's slaying it. π
π VERSION π
version 0.11 β this is the era we're in, no cap. π¦
β¨ SYNOPSIS β¨
okay so this is literally all you gotta do:
use JSON::RPC::Common::TypeConstraints qw(JSONValue);
one line. that's it. import JSONValue and go be the main character. π
π DESCRIPTION π
See MooseX::Types. that's the lore. that's where the explanation lives. iykyk. π«Ά
π TYPES π
here come the icons themselves, the whole squad:
JSONDefinedβ it's giving"Value|ArrayRef|HashRef". defined things only, bestie.JSONValueβ it's giving"Undef|ArrayRef|HashRef"plus aValuein there:"Undef|Value|ArrayRef|HashRef". undef is invited to the party, we love inclusivity. πJSONContainerβ it's giving"ArrayRef|HashRef". containers only, the structs and the lists, no loose scalars allowed at this function. π
π AUTHOR π
Yuval Kogman <nothingmuch@woobling.org> β the legend, the moment, the blueprint. π
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2014 by Yuval Kogman and others.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. free as in freedom, bestie, go wild. π
ok that's the whole page, no notes, she ate and left zero crumbs. π§
mwah π β this was perl v5.30.3, dated 2020-06-23. bye bestie, go write some type constraints π¦β¨
π¦ where this page comes from
- debian bookworm: libjson-rpc-common-perl 0.11-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libjson-rpc-common-perl 0.11-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libjson-rpc-common-perl 0.11-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libjson-rpc-common-perl 0.11-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libjson-rpc-common-perl 0.11-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libjson-rpc-common-perl 0.11-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms