יובל קוג'מן (Yuval Kogman) > KiokuDB-0.51 > KiokuDB::Backend::Serialize::JSPON::Expander

Download:
KiokuDB-0.51.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  2
View/Report Bugs
Source   Latest Release: KiokuDB-0.57

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);

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.

syntax highlighting: