The latest version of aeson is 2.2.3.0-2.

aeson

Version 0.3.0.0 revision 0 uploaded by BryanOSullivan.

Package meta

Synopsis
Fast JSON parsing and generation
Description

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:

  • 854 bytes: 21054 msg/sec (17.1 MB/sec)

  • 6.4 KB: 4545 msg/sec (28.6 MB/sec)

  • 31.2 KB: 856 msg/sec (26.1 MB/sec)

  • 61.5 KB: 403 msg/sec (24.2 MB/sec)

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:

  • 14.6 KB: 1250 msg/sec (17.9 MB/sec)

  • 44.1 KB: 363 msg/sec (15.6 MB/sec)

Encoding performance on the same machine and data:

  • 854 bytes: 10647 msg/sec (8.7 MB/sec)

  • 6.4 KB: 2098 msg/sec (13.2 MB/sec)

  • 31.2 KB: 422 msg/sec (12.9 MB/sec)

  • 61.5 KB: 219 msg/sec (13.2 MB/sec)

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

Author
Bryan O'Sullivan <bos@mailrank.com>
Bug reports
http://github.com/mailrank/aeson/issues
Category
Text, Web, JSON
Copyright
Copyright 2011 MailRank, Inc.
Homepage
http://github.com/mailrank/aeson
Maintainer
Bryan O'Sullivan <bos@mailrank.com>
Package URL
n/a
Stability
experimental

Components