Data-BISON
view release on metacpan or search on metacpan
t/40.roundtrip.t view on Meta::CPAN
use Data::BISON::Decoder;
use Data::BISON::yEnc qw(encode_yEnc decode_yEnc);
use Data::Dumper;
use Test::More;
my @tests;
BEGIN {
my $struct = {
unicode => 'Ï',
nums => [ -1, 12345678, 1.25 ],
nested => {
hash => { slashed => '\\\\\\' },
array => [ [], [], {} ],
},
};
my $no_float = {
unicode => 'Ï',
nums => [ -1, 12345678, 0 ],
nested => {
hash => { name => '\\\\\\' },
array => [ [], [], {} ],
},
};
my $deeper = {
struct => $struct,
no_float => $no_float,
( run in 0.477 second using v1.01-cache-2.11-cpan-f29a10751f0 )