canonical-json: Canonical JSON for signing and hashing JSON values

[ bsd3, json, library, text ] [ Propose Tags ]

An implementation of Canonical JSON.

The "canonical JSON" format is designed to provide repeatable hashes of JSON-encoded data. It is designed for applications that need to hash, sign or authenitcate JSON data structures, including embedded signatures.

Canonical JSON is parsable with any full JSON parser, and it allows whitespace for pretty-printed human readable presentation, but it can be put into a canonical form which then has a stable serialised representation and thus a stable hash.

Versions [faq],
Change log
Dependencies base (>=4.5 && <5), bytestring (>=0.9 && <0.11), containers (>=0.4 && <0.6), parsec (==3.1.*), pretty (>=1.0 && <1.2) [details]
License BSD-3-Clause
Copyright Copyright 2015-2017 Well-Typed LLP
Author Duncan Coutts, Edsko de Vries
Category Text, JSON
Home page
Source repo head: git clone
Uploaded by DuncanCoutts at Fri Oct 26 10:45:53 UTC 2018
Distributions NixOS:
Downloads 140 total (40 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2018-10-26 [all 1 reports]


[Index] [Quick Jump]


Maintainer's Corner

For package maintainers and hackage trustees