NAME

KiokuDB::Backend::Serialize::JSPON::Converter - Common functionality for JSPON expansion/collapsing

SYNOPSIS

# internal

DESCRIPTION

These attributes are shared by both KiokuDB::Backend::Serialize::JSPON::Converter and KiokuDB::Backend::Serialize::JSPON::Expander.

These attributes are also available in KiokuDB::Backend::Serialize::JSPON and passed to the constructors of the expander and the collapser.

ATTRIBUTES

id_field
class_field
class_meta_field
root_field
deleted_field
tied_field
data_field
ref_field

The various field name mappings for the KiokuDB::Entry attributes.

Everything defaults to the attribute name, except class and class_meta which default to __CLASS__ and __META__ for compatibility with MooseX::Storage when inline_data is set, and ref_field which is set to $ref according to the JSPON spec.

inline_data

Determines whether or not the entry data keys are escaped and the data is stored in the same top level mapping, or inside the data_field key.