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


KiokuDB documentation  | view source Contained in the KiokuDB distribution.

Index


NAME

Top

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

SYNOPSIS

Top

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

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

DESCRIPTION

Top

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

ATTRIBUTES

Top

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

METHODS

Top

expand_jspon $hashref

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


KiokuDB documentation  | view source Contained in the KiokuDB distribution.