NAME
Data::Printer::Profile::JSON - dump variables in JSON format
SYNOPSIS
While loading Data::Printer:
use DDP profile => 'JSON';
While asking for a print:
p $var, profile => 'JSON';
or in your .dataprinter
file:
profile = JSON
DESCRIPTION
This profile outputs your variables in JSON format. It's not nearly as efficient as a regular JSON module, but it may be useful, specially if you're changing the format directly in your .dataprinter.