rapidhash-aeson: aeson instances for rapidhash digests

[ bsd3, data, library ] [ Propose Tags ] [ Report a vulnerability ]

ToJSONFromJSON and ToJSONKeyFromJSONKey instances for rapidhash digests, following rapidhash's tagged textual form.


[Skip to Readme]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0
Change log CHANGELOG.md
Dependencies aeson (>=2.2 && <2.4), base (>=4.19 && <4.22), rapidhash (>=1.0 && <1.1) [details]
Tested with ghc ==9.8.4, ghc ==9.10.3, ghc ==9.12.4
License BSD-3-Clause
Copyright (c) 2026 Jeremy Nuttall
Author Jeremy Nuttall
Maintainer jeremy@jeremy-nuttall.com
Uploaded by jtnuttall at 2026-11-23T02:14:46Z
Category Data
Home page https://github.com/jtnuttall/lithon#readme
Bug tracker https://github.com/jtnuttall/lithon/issues
Source repo head: git clone https://github.com/jtnuttall/lithon(rapidhash-aeson)
Distributions
Downloads 3 total (3 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for rapidhash-aeson-0.1.0.0

[back to package description]

rapidhash-aeson

ToJSON/FromJSON and ToJSONKey/FromJSONKey instances for RapidHash and RapidHashMicro from rapidhash. Digests encode as JSON strings in rapidhash's tagged hex form (rhv3: or rhmv3: followed by 16 hex digits), and map keys use the same form as values.

The module exports nothing; import it for its instances:

import Data.Hash.RapidHash.Aeson ()