}
elsif ( $format =~ /^json([0-3])?$/ ) {
require JSON;
my $json = JSON->new();
if ( !defined($1) || $1 == 1 || $1 == 3 ) {
$json->pretty();
}
if ( !defined($1) || $1 == 2 || $1 == 3 ) {
$json->canonical(1);
}
$string = $json->encode($config);
}
else {
$self->usage_error("unsupported format [$form
fpl config project
fpl config project.environment
fpl config project.environment --format json2
fpl config project --format dumper3
=head1 DESCRIPTION
Prints out the config at the specifie