msgpack-0.2.0: A Haskell binding to MessagePack

Copyright(c) Hideyuki Tanaka, 2009
LicenseBSD3
Maintainertanaka.hideyuki@gmail.com
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell98

Data.MessagePack.Class

Contents

Description

Serializing Haskell values to and from MessagePack Objects.

Synopsis

Serialization to and from Object

class OBJECT a where Source

The class of types serializable to and from MessagePack object

type Result a = Either String a Source

A type for parser results

pack :: OBJECT a => Packer -> a -> IO () Source

Pack a serializable Haskell value.