JSORB::Types - A set of Moose types used in JSORB


JSORB documentation  | view source Contained in the JSORB distribution.

Index


NAME

Top

JSORB::Types - A set of Moose types used in JSORB

DESCRIPTION

Top

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.

BUGS

Top

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.

AUTHOR

Top

Stevan Little <stevan.little@iinteractive.com>

COPYRIGHT AND LICENSE

Top


JSORB documentation  | view source Contained in the JSORB distribution.