KiokuD...pander(3pm)

πŸ“¦
version 0.57 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu questing

✨ KiokuDB::Backend::Serialize::JSPON::Expander β€” the manual page, bestie edition ✨

okay so you're looking at the manpage for KiokuDB::Backend::Serialize::JSPON::Expander β€” that's section 3pm, Perl-ville, population: this one module πŸ’–. It's part of the User Contributed Perl Documentation collection, and no cap, it does exactly one thing and does it gorgeously.


πŸŽ€ NAME πŸŽ€

KiokuDB::Backend::Serialize::JSPON::Expander β€” Inflate JSPON to entry data. That's the whole job. Inflate. Like a little balloon artist for your data structures 🎈


🌸 VERSION 🌸

version 0.57 β€” yes she has a version number and yes she's serving πŸ’…


⭐ SYNOPSIS ⭐

okay so here's how you actually use her, bestie:

my $c = KiokuDB::Backend::Serialize::JSPON::Expander->new(
    id_field => "_id",
);

my $entry = $c->collapse_jspon($hashref);

look at that. clean. iconic. id_field set to "_id", and boom, you got yourself an expander and an entry 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

so like, KiokuDB::Backend::Serialize::JSPON uses this object to expand JSPON compliant hash references into KiokuDB::Entry objects. She's the glow-up pipeline. Hashref goes in, Entry comes out, main character energy the entire way through ✨


🧚 ATTRIBUTES 🧚

for the attributes, go check KiokuDB::Backend::Serialize::JSPON::Converter β€” that's where the attributes shared by both KiokuDB::Backend::Serialize::JSPON::Collapser and KiokuDB::Backend::Serialize::JSPON::Expander live. sibling energy, they share the closet πŸ’œ


πŸ’… METHODS πŸ’…

  • expand_jspon $hashref β€” Recursively inflates the hash reference and hands you back a KiokuDB::Entry object. Recursive, bestie. She goes all the way down and comes back up with a full Entry. obsessed 😭πŸ”₯

πŸ‘‘ AUTHOR πŸ‘‘

Yuval Kogman <nothingmuch@woobling.org> β€” the icon, the legend, the one who wrote it πŸ’–


This software is copyright (c) 2014 by Yuval Kogman, Infinity Interactive.

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 go off, do whatever, just keep the same terms, periodt ✨


fr fr that's the whole page β€” every attribute, every method, every line of legalese accounted for, nothing skipped, nothing invented πŸ’―

perl v5.34.0 Β· 2022-05-23 Β· that's the version and date this page was generated with, mwah, take care of her πŸŽ€πŸ’œπŸ¦‹

πŸ“¦ where this page comes from