A Haskell JSON parsing and encoding library optimized for high performance and easy usage
Aeson is a Haskell JSON parsing and encoding library optimized for high performance and easy usage.
It provides a typeclass-based interface for serializiation and parsing of object hierarchies (see the FromJSON
and ToJSON
typeclasses) andprovides lazy or strict parsing mechanisms.
Errors can be handled by using Maybe
or Either
, providing typesafe parsing of any object structure.
In greek mythology, Aeson was the father of Jason, therefore relating the library's name to the format it parses.