hat. That way you can
# interactively browse XML or YAML files. Supported suffixes are: xml,
# json, csv, yml, ini, conf.
# If the data structure evaulates, you'll be dropped into an interactive
#
elsif ($arg =~ /\.json$/i) {
eval { require JSON; };
die "Sorry, JSON is not installed, JSON not supported!\n" if($@);
my $json = JSON->new->utf8();
$code = $json->decode(slurp($arg)