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 <firstname.lastname@example.org>
Copyright 2008-2010 Infinity Interactive, Inc.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.