Scroll to navigation

KiokuDB::Backend::Serialize::JSPON::Expander(3pm) User Contributed Perl Documentation KiokuDB::Backend::Serialize::JSPON::Expander(3pm)
 

NAME

KiokuDB::Backend::Serialize::JSPON::Expander - Inflate JSPON to entry data.

VERSION

version 0.57

SYNOPSIS

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

DESCRIPTION

This object is used by KiokuDB::Backend::Serialize::JSPON to expand JSPON compliant hash references to KiokuDB::Entry objects.

ATTRIBUTES

See KiokuDB::Backend::Serialize::JSPON::Converter for attributes shared by KiokuDB::Backend::Serialize::JSPON::Collapser and KiokuDB::Backend::Serialize::JSPON::Expander.

METHODS

expand_jspon $hashref
Recursively inflates the hash reference, returning a KiokuDB::Entry object.

AUTHOR

Yuval Kogman <nothingmuch@woobling.org>

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.
2014-03-25 perl v5.18.2