aeson-with

withXField combinators for aeson

Version on this page:0.1.1.0
LTS Haskell 18.28:0.1.2.0@rev:2
Stackage Nightly 2022-02-07:0.1.2.0@rev:2
Latest on Hackage:0.1.2.0@rev:2

See all snapshots aeson-with appears in

BSD-3-Clause licensed by Daniel Firth
Maintained by [email protected]
This version can be pinned in stack with:aeson-with-0.1.1.0@sha256:dc67b6adeddb7a1bc61098e4b02a339b1b60b32684981af65df5622c1b591ea7,1178

Module documentation for 0.1.1.0

aeson-with

Silly little withXField combinators for adding fields to an existing JSON value.

Changes

Changelog for aeson-with

v0.1.1.0

  • Add view' and toListOf' for viewing ToJSON instances.

v0.1.0.0

  • Change withArrayField and withValue to take ToJSON values.
  • Remove withValueMaybe.

v0.0.1.0

  • Dirty aeson-with lenses for quickly adding fields to objects.