cborg

Concise Binary Object Representation

Version on this page:0.2.1.0
LTS Haskell 22.43:0.2.10.0@rev:1
Stackage Nightly 2024-12-09:0.2.10.0@rev:1
Latest on Hackage:0.2.10.0@rev:1

See all snapshots cborg appears in

BSD-3-Clause licensed by Duncan Coutts
This version can be pinned in stack with:cborg-0.2.1.0@sha256:6e2c9a4dc3ccd621d799689d6c3ff862c761ffbab4da104874ba04a14c60ac7a,4488

This package (formerly binary-serialise-cbor) provides an efficient implementation of the Concise Binary Object Representation (CBOR), as specified by RFC 7049.

If you are looking for a library for serialisation of Haskell values, have a look at the serialise package, which is built upon this library.

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.

Changes

Revision history for cborg

0.2.1.0 – 2018-10-11

  • Bounds bumps and GHC 8.6 compatibility

0.2.0.0 – 2017-11-30

  • Improved robustness of non-UTF-8 strings

  • Add encoders and decoders for ByteArray

  • Add decoding variants that check for canonical encodings

  • Expose Codec.CBOR.Read.deserialiseFromBytesWithSize

0.1.0.0 – 2017-06-28

  • First version. Released on an unsuspecting world.