KiokuD...pander(3pm)
β¨ 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 aKiokuDB::Entryobject. 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 π
π COPYRIGHT AND LICENSE π
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
- debian bookworm: libkiokudb-perl 0.57-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libkiokudb-perl 0.57-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libkiokudb-perl 0.57-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu questing: libkiokudb-perl 0.57-3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms