A library for encoding JSON as CBOR


Version on this page:
LTS Haskell 21.24:
Stackage Nightly 2023-12-10:
Latest on Hackage:

See all snapshots cborg-json appears in

BSD-3-Clause licensed by Duncan Coutts
Maintained by ben@smart-cactus.org
This version can be pinned in stack with:cborg-json-,2067

Module documentation for

This package implements the bijection between JSON and CBOR defined in the CBOR specification, RFC 7049.


Revision history for cborg-json – 2019-12-29

  • Use replicateM to significantly speed up decoding. Now faster than Aeson!

  • Add support for decoding half-precision and single-precision floating-point numbers.

  • Version bumps and support for GHC 8.8 – 2017-08-01

  • First version. Released on an unsuspecting world.