Group
Extension

Matches 1

Method-ParamValidator ( M/MA/MANWAR/Method-ParamValidator-0.16.tar.gz, MANWAR, 2019; MetaCPAN )
Method-ParamValidator/lib/Method/ParamValidator.pm ( view source; MetaCPAN )
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" });

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.