aeson: Fast JSON parsing and encoding

[ bsd3, json, library, text, web ] [ Propose Tags ]
Versions,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, (info)
Dependencies attoparsec (>=, base (==4.*), blaze‑builder (>=, blaze‑textual (>=, bytestring, containers, deepseq, dlist (>=0.2), ghc‑prim (>=0.2), hashable (>= && <1.2), mtl, old‑locale, syb, template‑haskell (>=2.4 && <2.10), text (>=, time (<1.5), unordered‑containers (>=, vector (>=0.7.1) [details]
License BSD-3-Clause
Copyright (c) 2011 Bryan O'Sullivan (c) 2011 MailRank, Inc.
Author Bryan O'Sullivan <>
Maintainer Bryan O'Sullivan <>
Revised Revision 2 made by AdamBergmark at Wed May 27 11:22:29 UTC 2015
Category Text, Web, JSON
Home page
Bug tracker
Source repo head: git clone git://
head: hg clone
Uploaded by BryanOSullivan at Fri Dec 23 08:18:26 UTC 2011
Distributions Arch:, Debian:, Fedora:, FreeBSD:, LTSHaskell:, NixOS:, Stackage:, openSUSE:
Downloads 381783 total (1317 in the last 30 days)
Rating 2.75 (votes: 21) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

A JSON parsing and encoding library optimized for ease of use and high performance.

To get started, see the documentation for the Data.Aeson module below.

For release notes, see

Note: if you use GHCi or Template Haskell, please see the README file for important details about building this package, and other packages that depend on it:

Parsing performance on a late 2010 MacBook Pro (2.66GHz Core i7), for mostly-English tweets from Twitter's JSON search API:

Handling heavily-escaped text is a little more work. Here is parsing performance with Japanese tweets, where much of the text is entirely Unicode-escaped.

Encoding performance on the same machine and data:

(A note on naming: in Greek mythology, Aeson was the father of Jason.)

[Skip to Readme]





operate in developer mode


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees

Readme for aeson-

[back to package description]

Welcome to aeson

aeson is a fast Haskell library for working with JSON data.

Join in!

We are happy to receive bug reports, fixes, documentation enhancements, and other improvements.

Please report bugs via the github issue tracker.

Master git repository:

  • git clone git://

There's also a Mercurial mirror:

  • hg clone

(You can create and contribute changes using either git or Mercurial.)


This library is written and maintained by Bryan O'Sullivan,