aeson-with

withXField combinators for aeson

Stackage Nightly 2020-09-22:0.1.2.0
Latest on Hackage:0.1.2.0

See all snapshots aeson-with appears in

MIT licensed by Daniel Firth

Module documentation for 0.1.2.0

This version can be pinned in stack with:aeson-with-0.1.2.0@sha256:4b57037aa9e1759d53eef05969f6ed22ed083cec7cc4ce1b9e44ea4fe38a6784,1076

aeson-with

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

Changes

Changelog for aeson-with

v0.1.2.0

  • Remove useless dependencies on mtl and hashmap.

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.