NAME
JSON::Whitespace - Remove whitespace from JSON
SYNOPSIS
use JSON::Whitespace ':all';
my $in = <<EOF;
{
"animals":{
"kingkong":"🦍"
},
"baka":[
"ドジ"
],
"fruit":{
"grape":"🍇"
},
"moons":{
"🌑":0
}
}
EOF
my $minify = json_no_space ($in);
print $minify;
This outputs
{"animals":{"kingkong":"🦍"},"baka":["ドジ"],"fruit":{"grape":"🍇"},"moons":{"🌑":0}}
VERSION
This documents version 0.59_01 of JSON::Whitespace corresponding to git commit f945a07196d70245e08f8ce9e45b279c7c15f9d3 released on Mon Jan 25 12:26:47 2021 +0900.
AUTHOR
Ben Bullock, <bkb@cpan.org>
COPYRIGHT & LICENCE
This package and associated files are copyright (C) 2016-2021 Ben Bullock.
You can use, copy, modify and redistribute this package and associated files under the Perl Artistic Licence or the GNU General Public Licence.