Copyright | © Hideyuki Tanaka 2009-2015 © Herbert Valerio Riedel 2019 |
---|---|
License | BSD3 |
Safe Haskell | Trustworthy |
Language | Haskell2010 |
Simple interface to encode/decode to/from the MessagePack format.
Synopsis
- pack :: MessagePack a => a -> ByteString
- unpack :: MessagePack a => ByteString -> Maybe a
- module Data.MessagePack.Assoc
- module Data.MessagePack.Get
- module Data.MessagePack.Object
- module Data.MessagePack.Put
Simple interface to pack and unpack msgpack binary
pack :: MessagePack a => a -> ByteString Source #
Pack a Haskell value to MessagePack binary.
unpack :: MessagePack a => ByteString -> Maybe a Source #
Unpack MessagePack binary to a Haskell value. If it fails, it returns Nothing.
Re-export modules
module Data.MessagePack.Assoc
module Data.MessagePack.Get
module Data.MessagePack.Object
module Data.MessagePack.Put