The aeson package

[Tags:bsd3, library, test]

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

Parsing performance with GHC 6.12.3 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]


Versions,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, (info)
Dependencies attoparsec (>=, base (>=4 && <4.4), blaze-builder (>=, bytestring, containers, deepseq (<1.2), monads-fd, old-locale, syb, text (>=, time (<1.5), vector (>=0.7) [details]
License BSD3
Copyright Copyright 2011 MailRank, Inc.
Author Bryan O'Sullivan <>
Maintainer Bryan O'Sullivan <>
Category Text, Web, JSON
Home page
Bug tracker
Source repository head: git clone
head: hg clone
Uploaded Fri Feb 25 18:27:42 UTC 2011 by BryanOSullivan
Updated Wed Nov 11 13:37:24 UTC 2015 by phadej to revision 4
Distributions Arch:, Debian:, Fedora:, FreeBSD:, LTSHaskell:, NixOS:, Stackage:, Tumbleweed:
Downloads 263485 total (14997 in the last 30 days)
12 []
Status Docs uploaded by user
Build status unknown [no reports yet]




developeroperate in developer modeDisabledAutomatic

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


Maintainer's Corner

For package maintainers and hackage trustees

Readme for aeson

Readme for aeson-

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,