KiokuDB::Backend::Serialize::JSPON::Collapser - Collapse entry data to JSPON compliant structures
my $c = KiokuDB::Backend::Serialize::JSPON::Collapser->new( id_field => "_id", ); my $hashref = $c->collapse_jspon($entry);
- collapse_jspon $entry
Collapses the entry recursively, returning a JSPON compliant data structure suitable for serialization as a JSON string.
Yuval Kogman <email@example.com>
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.