Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 07eca6ac2f7d3b45ba0240548d3708cb > files > 7

perl-MooseX-Types-JSON-0.20.0-3.mga4.noarch.rpm

NAME
    MooseX::Types::JSON - JSON datatype for Moose

SYNOPSIS
     package Foo;

     use Moose;
     use Moose::Util::TypeConstraints;
     use MooseX::Types::JSON qw( JSON );

     has config  => ( is => 'rw', isa => JSON        );
     has options => ( is => 'rw', isa => relaxedJSON );

    String type constraints that match valid and relaxed JSON. For the
    meaning of 'relaxed' see JSON::XS. All the heavy lifting in the
    background is also done by JSON::XS.

    *   JSON

        A Str that is valid JSON.

    *   relaxedJSON

        A Str that is 'relaxed' JSON. For the meaning of 'relaxed' see
        JSON::XS.

AUTHOR
    Michael Langner, "<mila at cpan.org>"

BUGS
    Please report any bugs or feature requests to "bug-moosex-types-json at
    rt.cpan.org", or through the web interface at
    <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=MooseX-Types-JSON>. I
    will be notified, and then you'll automatically be notified of progress
    on your bug as I make changes.

COPYRIGHT & LICENSE
    Copyright 2009 Michael Langner, all rights reserved.

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