Argonaut Aeson Generic Json Codecs
Generic codec for aeson generic encoding. The promise is to support
interoperation with the generic encoding of Haskell's Aeson. The default
options mirror Aeson's (so you can use defaultOptions
on both sides), and
additionally all combinations of flags allNullaryToStringTag
and
tagSingleConstructors
are supported.
The package provides genericEncodeAeson
and genericDecodeAeson
function for
data types that have a Generic.Rep
instance.
It is using Data.Generic.Rep
hence it will work with purescirpt-0.12
and purescript-0.13
,
unlike
purescript-argonaut-generic-codec
which at the moment is based on Data.Generic
for which generic deriving has
been removed from the purescript compiler in this
commit.
It is based on purescript-argonaut-generic.