package Config::Files::Simple::JSON;
=encoding UTF-8
=head1 NAME
Config::Files::Simple::JSON - Yet another config file reader.
=head1 VERSION
version 0.03
=cut
our $VERSION = '0.03'; # VER
ined $_[2] ? $_[2] : ['.json'] ) ) {
require Carp;
Carp::cluck("$_[1] seems not to be a JSON file.");
}
require JSON::Parse;
return JSON::Parse::json_file_to_perl( $_[1] );
}
1;
__END__
=pod
=head1 DESCRIPTION
JSON file reader for Config::Files::Simple.
=head1 AUTHOR
Mario Zieschang, C<< <mziescha at cpan.org> >>
=head1 BUGS
Please report any bugs or feature