Forest...SONable(3pm)

πŸ“¦
version 0.10 Β· 2 versions
  • 0.10 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 0.10 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– 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 %options parameter 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 2008-2014 Infinity Interactive, Inc.

<http://www.iinteractive.com>

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