Group
Extension

Matches 1

Mojolicious-Plugin-InputValidation ( F/FR/FROGGS/Mojolicious-Plugin-InputValidation-0.10.tar.gz, FROGGS, 2020; MetaCPAN )
Mojolicious-Plugin-InputValidation/lib/Mojolicious/Plugin/InputValidation.pm ( view source; MetaCPAN )
elf->empty and defined $value and !ref $value and $value eq '')
             or (ref($value) =~ /^JSON::PP::Boolean$/);

    my $val = ref $value || $value;
    $self->error("Value '$val' is not a boo
f, $app, $conf) = @_;

    $app->helper(validate_json_request => sub {
        my ($c, $pattern) = @_;
        return _validate_structure($c->req->json, $pattern);
    });
    $app->helper(validate_pa
t;

      # Validate incoming requests against our data model.
      if (my $error = $c->validate_json_request({
          title    => iv_any,
          abstract => iv_any(optional => 1, empty => 1),

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