The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

VERSION

version 0.57

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.

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.