| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Data.MessagePack.Object
Contents
- data Object
- = ObjectNil
- | ObjectBool !Bool
- | ObjectInt !Int64
- | ObjectWord !Word64
- | ObjectFloat !Float
- | ObjectDouble !Double
- | ObjectStr !Text
- | ObjectBin !ByteString
- | ObjectArray ![Object]
- | ObjectMap ![(Object, Object)]
- | ObjectExt !Word8 !ByteString
Documentation
Object Representation of MessagePack data.
Constructors
| ObjectNil | represents nil |
| ObjectBool !Bool | represents true or false |
| ObjectInt !Int64 | represents a negative integer |
| ObjectWord !Word64 | represents a positive integer |
| ObjectFloat !Float | represents a floating point number |
| ObjectDouble !Double | represents a floating point number |
| ObjectStr !Text | extending Raw type represents a UTF-8 string |
| ObjectBin !ByteString | extending Raw type represents a byte array |
| ObjectArray ![Object] | represents a sequence of objects |
| ObjectMap ![(Object, Object)] | represents key-value pairs of objects |
| ObjectExt !Word8 !ByteString | represents a tuple of an integer and a byte array where the integer represents type information and the byte array represents data. |