conferer-aeson

conferer's source for reading json files

https://conferer.ludat.io

Version on this page:1.1.0.2@rev:4
LTS Haskell 22.28:1.1.0.2@rev:6
Stackage Nightly 2024-07-13: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:8a7e03fabbd8d676be6493897c901954f22738721cca2d2e138af8470b9dab3c,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