KiokuDB::Backend::Serialize::JSPON::Collapser(3pm)

KiokuDB::Backend::Serialize::JSPON::Collapser3pm

Collapse entry data to jspon compliant structures

Usage

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

Version

version 0.57

Overview

This object is used by KiokuDB::Backend::Serialize::JSPON to convert KiokuDB::Entry objects to JSPON compliant structures.

Attributes

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

Methods

collapse_jspon $entry

Collapses the entry recursively, returning a JSPON compliant data structure suitable for serialization as a JSON string.

Releases

6 releases since Debian 7 (Wheezy); the text changed 2 times.

  1. 7
  2. 8–10
  3. 12–13

Author

Yuval Kogman <[email protected]>

From libkiokudb-perl 0.57-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.