NAME
Dancer2::RPCPlugin::DataFlatten - Simple routine to flatten (blessed) data
SYNOPSIS
use Dancer2::RPCPlugin::DataFlatten;
my $data = bless({some => 'data'}, 'AnyClass');
my $flat = flatten_data($data); # {some => 'data'}
DESCRIPTION
flatten_data($any_data)
This makes a deep-copy of the datastructure presented.
Arguments
Only the first argument is considered.
Response
A deep copy of the data structure presented.
COPYRIGHT
(c) MMXVII - Abe Timmerman <abeltje@cpan.org>.