KiokuDB::Backend::Serialize::JSPON::Expander - Inflate JSPON to entry data.
Contents
Attributes
See KiokuDB::Backend::Serialize::JSPON::Converter for attributes shared by
KiokuDB::Backend::Serialize::JSPON::Collapser and KiokuDB::Backend::Serialize::JSPON::Expander.
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.
perl v5.34.0 2022-05-23 KiokuDB::Backen...JSPON::Expander(3pm)
Description
This object is used by KiokuDB::Backend::Serialize::JSPON to expand JSPON compliant hash references to
KiokuDB::Entry objects.
Methods
expand_jspon $hashref
Recursively inflates the hash reference, returning a KiokuDB::Entry object.
Name
KiokuDB::Backend::Serialize::JSPON::Expander - Inflate JSPON to entry data.
Synopsis
my $c = KiokuDB::Backend::Serialize::JSPON::Expander->new(
id_field => "_id",
);
my $entry = $c->collapse_jspon($hashref);
Version
version 0.57
