argonaut-aeson-generic

Argonaut codecs for aeson generic encoding


License
MPL-2.0
Install
psc-package install argonaut-aeson-generic

Documentation

Argonaut Aeson Generic Json Codecs

Maintainer: coot Documentation Build Status

Generic codec for aeson generic encoding (only supporting defaultOptions with allNullaryToStringTag set to true).

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, 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.