name: aeson version: 0.1.0.0 x-revision: 1 license: BSD3 license-file: LICENSE category: Text, Web, JSON copyright: Copyright 2011 MailRank, Inc. author: Bryan O'Sullivan maintainer: Bryan O'Sullivan stability: experimental tested-with: GHC == 6.12.3 synopsis: Fast JSON parsing and generation cabal-version: >= 1.8 homepage: http://github.com/mailrank/aeson bug-reports: http://github.com/mailrank/aeson/issues build-type: Simple 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.) extra-source-files: README.markdown benchmarks/AesonParse.hs benchmarks/EncodeFile.hs benchmarks/JsonParse.hs benchmarks/ReadFile.hs flag developer description: operate in developer mode default: False library exposed-modules: Data.Aeson Data.Aeson.Encode Data.Aeson.Parser Data.Aeson.Types build-depends: attoparsec >= 0.8.4.0, base < 4.4, blaze-builder >= 0.2.1.4, bytestring, containers >= 0.4.2, deepseq, old-locale, text >= 0.11.0.2, time < 1.5, vector >= 0.7 if flag(developer) ghc-options: -Werror ghc-prof-options: -auto-all ghc-options: -Wall source-repository head type: git location: http://github.com/mailrank/aeson source-repository head type: mercurial location: http://bitbucket.org/bos/aeson