Michael Langner > MooseX-Types-JSON-0.03 > MooseX::Types::JSON

Download:
MooseX-Types-JSON-0.03.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  1
View/Report Bugs
Module Version: 0.03   Source  

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.

Coercions from Defined types are included.

CONTRIBUTORS ^

Steve Huff

AUTHOR ^

Michael Langner

CONTRIBUTING ^

If you'd like to contribute, just fork my repository (http://github.com/cpan-mila/perl-moosex-types-json) on Github, commit your changes and send me a pull request.

BUGS ^

Please report any bugs or feature requests at http://github.com/cpan-mila/perl-moosex-types-json/issues.

COPYRIGHT & LICENSE ^

Copyright 2014 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.

syntax highlighting: