JSORB::Types - A set of Moose types used in JSORB
This is basically the type library for JSORB, if you are diving into JSORB at a deeper level you should read the source.
JSORB right now specifically disallows the following types; ScalarRef, CodeRef, RegexpRef, GlobRef and Object. This is primarily because these types are not easily serialziable with JSON. Below is the type tree that JSORB supports and is recommended.
Unit Any Item Bool Maybe[`a] Undef Defined Value Num Int Str Ref ArrayRef[`a] HashRef[`a]
This includes parameterized ArrayRef[`a] and HashRef[`a] types as well as the Maybe[`a] type. We add one new type, which is the Unit type which is used to represent a void type (Ocaml and Haskell users will recognize this) for use in procedure parameters and return values.
All complex software has bugs lurking in it, and this module is no exception. If you find a bug please either email me, or add the bug to cpan-RT.
Stevan Little <stevan.little@iinteractive.com>
Copyright 2008-2010 Infinity Interactive, Inc.
http://www.iinteractive.com
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install JSORB, copy and paste the appropriate command in to your terminal.
cpanm
cpanm JSORB
CPAN shell
perl -MCPAN -e shell install JSORB
For more information on module installation, please visit the detailed CPAN module installation guide.