Low overhead value space Decoder
on top of Aeson’s Parser for combinator style decoding.
This library is compatible with GHC as well as recent versions of GHCJS.
Encoding to JSON is currently not supported but might be added in the future version.
I wrote a blob post
describing what this library attempts to solve.
Internals
Decoder a type is a function Value -> Parser a the same as fromJSON
member function of FromJSON class. This means there should be near zero overhead.
Aeson types and functions are reused where possible. Similarly Encoder a type
follow toJSON from ToJSON type class.