messagepack-0.5.1: Serialize instance for Message Pack Object

Copyright(c) Rodrigo Setti, 2014
LicenseMIT
Maintainerrodrigosetti@gmail.com
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Data.MessagePack

Description

Object is a message pack object, and it have constructors for all message pack types.

The Serialize instances define how Object values may be serialized and deserialized to message pack binary format, following the specification.

Documentation

data Object Source

Constructors

ObjectNil 
ObjectUInt Word64

Unsigned integers from the MsgPack protocol: uint 8, uint 16, uint 32, uint 64

ObjectInt Int64

Signed integers and fixnums from the MsgPack protocol: positive fixnum, negative fixnum, int 8, int 16, int 32, int 64

ObjectBool Bool 
ObjectFloat Float 
ObjectDouble Double 
ObjectString ByteString 
ObjectBinary ByteString 
ObjectArray [Object] 
ObjectMap (Map Object Object) 
ObjectExt !Int8 ByteString