Fast JSON parsing and encoding for Haskell
open sourceBSD-3-Clausefree
aeson is the standard JSON library for Haskell: it parses and encodes JSON with an emphasis on ease of use and performance, through the FromJSON and ToJSON type classes, which can be derived for your own types with GHC generics or Template Haskell. It was written by Bryan O'Sullivan and is maintained by its contributors under the haskell GitHub organization.
Problems it solves
- parse and generate JSON in Haskell
- decode a JSON API response into my Haskell data types
- derive JSON encoding and decoding for Haskell records automatically
Features
- FromJSON and ToJSON type classes
- Generic and Template Haskell deriving
- Fast parsing and encoding
Alternatives
The same job
These do what aeson does.
- aeson-pretty JSON pretty-printing for Haskell's aeson, plus a command-line JSON prettifier
