In favour of


Compatibility layer for aeson

Version on this page:0.3.9@rev:4
LTS Haskell 20.26:0.3.10@rev:5
Stackage Nightly 2023-02-23:0.3.10@rev:4
Latest on Hackage:0.3.10@rev:5

See all snapshots aeson-compat appears in

BSD-3-Clause licensed and maintained by Oleg Grenrus
This version can be pinned in stack with:aeson-compat-0.3.9@sha256:fed89b1e9872f44d931b62402da1a33b3545d463206797b0269c5b47477d4f50,2754

Module documentation for 0.3.9


Build Status Hackage Stackage LTS 3 Stackage Nightly

The package provides compatibility layer for aeson



  • Add ToJSON/FromJSON Void


  • Re-implement withNumber
  • Add withEmbeddedJSON


  • Use attoparsec-iso8601 time parsers.
  • Don’t export GToJSON etc. members.


  • Fix accidental removal of AesonException export

  • Support QuickCheck-2.9.1

  • Fix (.=) export regression introduced by

  • Use explicit export list. Now we are sure we don’t break interface.
  • value, value' and Parser are exported from Data.Aeson.Compat

  • Add NominalDiffTime instances

  • Enable PolyKinds to generalize Proxy, Tagged, and Const instances.

  • Introduce instances from aeson- Const, Tagged, Proxy and NonEmpty
  • Fix bug with Natural instance, aeson- and base <=4.7

  • aeson-0.11 support
  • GHC 8.0.1 support
  • Add ToJSON Day and LocalTime instances
    • NOTE this instances are broken in aeson-
  • Add Natural, Ordering and Version instances

Split out aeson-extra