Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Ribosome.Host.Class.Msgpack.Encode
Description
Encoding values to MessagePack format
Synopsis
- class MsgpackEncode a where
Documentation
class MsgpackEncode a where Source #
Class of values that can be encoded to MessagePack Object
s.
Minimal complete definition
Nothing
Methods
toMsgpack :: a -> Object Source #
Convert a value to MessagePack.
The default implementation uses generic derivation.