NAME
JSON::Typist::DataPrinter - a helper for Data::Printer-ing JSON::Typist data
VERSION
version 0.007
SYNOPSIS
use JSON::Typist::DataPrinter qw( jdump );
my $data = get_typed_data_from_your_code();
say "I got data and here it is!";
say jdump($data); # ...and you get beautifully printed data
OVERVIEW
This library exists for one reason: to provide jdump
. It might change at any time, but one thing is for sure: it takes an argument to dump and it returns a printable string describing it.
FUNCTIONS
jdump
my $string = jdump($struct);
This uses Data::Printer to produce a pretty printing of the structure, color coding typed data and ensuring that it's presented clearly. The format may change over time, so don't rely on it! It's meant for humans, not computers, to read.
AUTHOR
Ricardo Signes <rjbs@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2016 by Ricardo Signes.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.