GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  MOOSEX::TYPES::JSON (3)

.ds Aq ’

NAME

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

CONTENTS

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. All the heavy lifting in the background is also done by JSON.

Coercions from Defined types are included.
o JSON

A Str that is valid JSON.

o relaxedJSON

A Str that is ’relaxed’ JSON. For the meaning of ’relaxed’ see JSON.

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.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 MOOSEX::TYPES::JSON (3) 2014-08-22

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.