Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 22 lines (14 sloc) 0.237 kB
#!/usr/bin/perl
use strict;
use warnings;
use JSON;
my $json = new JSON;
my $obj = {
a => 1,
b => {
dos => 3,
}
};
my $js = $json->objToJson($obj);
print $js = $json->objToJson($obj, {pretty => 1, indent => 2});
print "\n";
Jump to Line
Something went wrong with that request. Please try again.