Binary serialisation in the CBOR format
207
stars
588
commits
Haskell
primary language
May 13, 2026
updated
This repo contains two libraries (plus associated tools):
The serialise library is for serialising Haskell values and deserialising
them later.
The cborg library provides a fast, standards-compliant implementation of the
'Concise Binary Object Representation' (specified in RFC 7049) for Haskell.
The serialise library uses the CBOR format, via the cborg library, which
gives it the following benefits:
They are just a cabal install away on Hackage:
$ cabal install cborg serialise
There are also a few related packages that you may be interested in:
cborg-json implements the bijection between JSON and CBOR specified in the RFC.cbor-tool is a handy command-line utility for working with CBOR data.Be sure to read the contributing guidelines. File bugs in the GitHub issue tracker.
Master git repository:
git clone https://github.com/well-typed/cborg.gitThe tests for the cborg package are currently included in the serialise
package.
$ cabal test serialise
See AUTHORS.txt.
BSD3. See LICENSE.txt for the exact terms of copyright and redistribution.
(top 30 of 56)
Haskell
99.9%
Binary serialisation in the CBOR format
207
stars
588
commits
Haskell
primary language
May 13, 2026
updated
This repo contains two libraries (plus associated tools):
The serialise library is for serialising Haskell values and deserialising
them later.
The cborg library provides a fast, standards-compliant implementation of the
'Concise Binary Object Representation' (specified in RFC 7049) for Haskell.
The serialise library uses the CBOR format, via the cborg library, which
gives it the following benefits:
They are just a cabal install away on Hackage:
$ cabal install cborg serialise
There are also a few related packages that you may be interested in:
cborg-json implements the bijection between JSON and CBOR specified in the RFC.cbor-tool is a handy command-line utility for working with CBOR data.Be sure to read the contributing guidelines. File bugs in the GitHub issue tracker.
Master git repository:
git clone https://github.com/well-typed/cborg.gitThe tests for the cborg package are currently included in the serialise
package.
$ cabal test serialise
See AUTHORS.txt.
BSD3. See LICENSE.txt for the exact terms of copyright and redistribution.
(top 30 of 56)
Haskell
99.9%