aeson-2.0.0.0 changes Object's field from a HashMap to a new KeyMap type. This patch adapts lens-aeson to the new API. h/t to phadej/aeson-optics@ff31ca0578482df11002f0cde974ff51b8559e1c, on which I based this patch.
We may want to consider changing the type of _Object later (#38), but that should probably wait until we can depend on aeson >= 2 unconditionally.
aeson-2.0.0.0
changesObject
's field from aHashMap
to a newKeyMap
type. This patch adaptslens-aeson
to the new API. h/t to phadej/aeson-optics@ff31ca0578482df11002f0cde974ff51b8559e1c, on which I based this patch.We may want to consider changing the type of
_Object
later (#38), but that should probably wait until we can depend onaeson >= 2
unconditionally.Fixes #37.