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.


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Versions [RSS],,,
Change log
Dependencies base (>=4.5 && <5), bytestring (>=0.9 && <0.11), containers (>=0.4 && <0.6), parsec (>=3.1 && <3.2), 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 2018-10-26T10:45:53Z
Distributions NixOS:
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 15088 total (114 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-10-26 [all 1 reports]