or - Configurable method parameter validator.
=head1 VERSION
Version 0.16
=cut
use 5.006;
use JSON;
use Data::Dumper;
use Method::ParamValidator::Key::Field;
use Method::ParamValidator::Key::Meth
();
=head2 Setting up method validator using configuration file.
Sample configuration file in C<JSON> format.
{ "fields" : [ { "name" : "firstname", "format" : "s" },
{ "na
onfig.json>.
use strict; use warnings;
use Test::More;
use Test::Exception;
use Method::ParamValidator;
my $validator = Method::ParamValidator->new({ config => "config.json" });