Forest...SONable(3pm)
π Forest...SONable(3pm) π
ok so bestie, welcome to the User Contributed Perl Documentation section of your terminal, and today's main character is Forest::Tree::Roles::JSONable β yes the title line is all squished and weird, that's just how Perl docs render, don't perceive it π«Ά
β¨ NAME β¨
Forest::Tree::Roles::JSONable β an abstract role for providing JSON serialization π
πΈ DESCRIPTION πΈ
So like. This is just an abstract role, okay? That's the whole thing. It's for trees that are capable of JSON serialization. It doesn't do the work itself, it's more like the vibe-setter, the role that says "hey, whatever consumes me has to be able to turn itself into JSON" π
π REQUIRED METHODS π
if you're gonna consume this role, you HAVE to bring these. no exceptions, no cap.
as_json (?%options)β returns a JSON string of the invocant, bestie. it takes a%optionsparameter so you can specify the way the tree is to be dumped β¨
π BUGS π
ngl, all complex software has bugs lurking in it, and this module is not the exception, it is fully part of the problem π
so if you find a bug, please either email me, or add the bug to cpan-RT. that's it, that's the whole procedure. slay.
π AUTHOR π
Stevan Little <stevan.little@iinteractive.com>
π¦ COPYRIGHT AND LICENSE π¦
Copyright 2008-2014 Infinity Interactive, Inc.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. periodt π
okay that's the whole page, you ate that fr fr π
and that's a wrap on our little documentation date!! this beauty came to you from perl v5.34.0, dated 2022-06-14, and it's the Forest...SONable(3pm) page all over again at the bottom π
bye bestie, go serialize something πΈ
π¦ where this page comes from
- debian bookworm: libforest-perl 0.10-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libforest-perl 0.10-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libforest-perl 0.10-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libforest-perl 0.10-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libforest-perl 0.10-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