NAME

normalize-rinci-function-metadata - Normalize Rinci function metadata

VERSION

This document describes version 0.112 of normalize-rinci-function-metadata (from Perl distribution App-PerinciUtils), released on 2019-01-20.

SYNOPSIS

% normalize-rinci-function-metadata '{v=>1.1, args=>{a=>{schema=>"int"}}}'
{
  "args" => { a => { schema => ["int", {}, {}] } }, # {0}
  "args_as" => "hash",                              # {1}
  "v" => 1.1,                                       # {2}
  "x.perinci.sub.wrapper.logs" => [
    { normalize_schema => "1", validate_args => 1, validate_result => 1 }, # .[0]
  ],                                                # {3}
}

DESCRIPTION

This script can be used to quickly view the normalized form of a Rinci function metadata. Both input and output are in the form of Perl code.

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/App-PerinciUtils.

SOURCE

Source repository is at https://github.com/perlancar/perl-App-PerinciUtils.

BUGS

Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=App-PerinciUtils

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2019, 2017, 2016, 2015 by perlancar@cpan.org.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.