Data::Format::Pretty::CompactJSON - Pretty-print data structure as compact JSON
use Data::Format::Pretty::CompactJSON qw(format_pretty); print format_pretty($data);
Some example output:
Like Data::Format::Pretty::JSON, but will always print with JSON option
pretty => 0 (minimal indentation).
Return formatted data structure as JSON. Options:
Whether to enable coloring. The default is the enable only when running interactively.
None are exported by default, but they are exportable.
color option (if unset).
Please visit the project's homepage at https://metacpan.org/release/Data-Format-Pretty-JSON.
Source repository is at https://github.com/sharyanto/perl-Data-Format-Pretty-JSON.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Data-Format-Pretty-JSON
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
Steven Haryanto <email@example.com>
This software is copyright (c) 2013 by Steven Haryanto.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.