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.


[Last Documentation]

  • Text
    • JSON
      • Text.JSON.Canonical
        • Text.JSON.Canonical.Class
        • Text.JSON.Canonical.Parse
        • Text.JSON.Canonical.Types


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Versions [RSS],,,
Change log
Dependencies base (>=4.5 && <4.11), 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
Revised Revision 1 made by HerbertValerioRiedel at 2018-10-26T16:52:42Z
Category Text, JSON
Uploaded by DuncanCoutts at 2018-10-26T10:41:38Z
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 not available [build log]
All reported builds failed as of 2018-10-26 [all 2 reports]