Take me over?
The maintainer of this distribution is looking for someone to take over!
If you're interested then please contact them via
email.
NAME
KiokuDB::Backend::Serialize::JSON - Role to serialize entries to JSON strings with KiokuDB::Backend::Serialize::JSPON semantics
SYNOPSIS
with qw(KiokuDB::Backend::Serialize::JSON);
sub foo {
my ( $self, $entry ) = @_;
my $json_string = $self->serialize($entry);
}
DESCRIPTION
This role provides additional convenience attributes and methods for backends that encode entries to JSON strings, on top of KiokuDB::Backend::Serialize::JSPON which only restructures the data.
KiokuDB::Backend::Serialize::Delegate is preferred to using this directly.
METHODS
- serialize $entry
-
Returns a JSON string
- deserialize $json_str
-
Returns a KiokuDB::Entry