Package0.2.6.1Codec
serialise
A binary serialisation library for Haskell values.
- Version0.2.6.1
- CategoryCodec
- LicenceBSD-3-Clause
- AuthorDuncan Coutts
- Maintainerduncan@community.haskell.org, ben@smart-cactus.org
- Homepagegithub.com/well-typed/cborg
- Pinned byhackage serialise 0.2.6.1
- Sourcehackage.haskell.org/package/serialise-0.2.6.1
Modules
8 modules- Codec.Serialise11This module provides functions to serialise and deserialise Haskell
- Codec.Serialise.Class10The Serialise class allows you to encode a given type into a
- Codec.Serialise.Decoding43High level API for decoding values that were encoded with the
- Codec.Serialise.Encoding33High level API for encoding values, for later serialization into
- Codec.Serialise.IO3High-level file-based API for serialising and deserialising values.
- Codec.Serialise.Properties3This module contains a set of generally useful properties, which
- Codec.Serialise.Tutorial0serialise library is built on cborg, they implement CBOR (Concise Binary Object Representation, specified by IETF RFC 7049) and serialise…
Internal modules · 1
Description
This package (formerly binary-serialise-cbor) provides pure, efficient serialization of Haskell values directly into ByteStrings for storage or transmission purposes. By providing a set of type class instances, you can also serialise any custom data type you have as well.
The underlying binary format used is the 'Concise Binary Object Representation', or CBOR, specified in RFC 7049. As a result, serialised Haskell values have implicit structure outside of the Haskell program itself, meaning they can be inspected or analyzed without custom tools.
An implementation of the standard bijection between CBOR and JSON is provided by the cborg-json package. Also see cbor-tool for a convenient command-line utility for working with CBOR data.
Depends on
15 packages- array-0.5.8.0with GHC
- base-4.20.2.0with GHC
- bytestring-0.12.2.0with GHC
- cborg-0.2.10.0in this set
- containers-0.7with GHC
- ghc-prim-0.12.0with GHC
- half-0.3.3in this set
- hashable-1.4.7.0in this set
- primitive-0.9.1.0in this set
- strict-0.5.1in this set
- text-2.1.3with GHC
- these-1.2.1in this set
- time-1.12.2with GHC
- unordered-containers-0.2.21in this set
- vector-0.13.2.0in this set