JSON-Create
view release on metacpan or search on metacpan
lib/JSON/Create.pod view on Meta::CPAN
See also L</Other escapes>.
This method was added in version 0.07 of the module.
=head2 indent
$jc->indent (1);
Add whitespace indentation to the output. The formula applied is to
add a newline plus indentation after each opening bracket, add the
same after each comma, and add the same before each closing
bracket. Tabs are used for all indentation. The number of tabs is
decided by the number of brackets open.
=head3 Example of indentation
use JSON::Create;
my %thing = ("it's your thing" => [qw! do what you !, {wanna => 'do'}],
( run in 0.235 second using v1.01-cache-2.11-cpan-26ccb49234f )