msgpack-0.3.1: A Haskell binding to MessagePack

Portabilityportable
Stabilityexperimental
Maintainertanaka.hideyuki@gmail.com

Data.MessagePack.Object

Contents

Description

MessagePack object definition

Synopsis

MessagePack Object

Serialization to and from Object

class OBJECT a whereSource

The class of types serializable to and from MessagePack object

Methods

toObject :: a -> ObjectSource

Encode a value to MessagePack object

fromObject :: Object -> Result aSource

Decode a value from MessagePack object

type Result a = Either String aSource

A type for parser results