conferer-aeson

conferer's source for reading json files

https://conferer.ludat.io

Version on this page:1.1.0.2@rev:1
LTS Haskell 22.39:1.1.0.2@rev:6
Stackage Nightly 2024-10-31:1.1.0.2@rev:6
Latest on Hackage:1.1.0.2@rev:6

See all snapshots conferer-aeson appears in

MPL-2.0 licensed by Lucas David Traverso
Maintained by [email protected]
This version can be pinned in stack with:conferer-aeson-1.1.0.2@sha256:aa08fcf0d6b6181adeb2a955b657befb4bb3c2b551a03f208615ee4d14ed66a7,2384

Module documentation for 1.1.0.2

conferer-source-json

Changes

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to PVP.

Unreleased

Nothing

v1.1.0.2 2021-12-03

Changed

  • Allow using aeson-2.0

v1.1.0.1 2021-03-14

Changed

  • Make the keys special key always return sorted keys (because of the change from hashable-1.3.1.0)

v1.1.0.0 2021-03-01

Changed

  • Rename fromFilePath to fromFilePath'.
  • Define a new fromFilePath whose type is FilePath -> SourceCreator instaed of FilePath -> IO Source.
  • Validate that the json value doesn’t contain any wrong key name (only lowercase ascii and numbers are accepted) and throw otherwise.
  • Treat the special key _self as explained in the docs to allow nesting keys that’s used elsewhere.
  • Even if invalid key names get through, ignore them in the source.

v1.0.0.0 2020-12-29

First release