on 0.2.0.0 help sign in
typeable/aeson/aeson.cabal
114 lines 3.0 kB history raw
1name: aeson
2version: 0.2.0.0
3license: BSD3
4license-file: LICENSE
5category: Text, Web, JSON
6copyright: Copyright 2011 MailRank, Inc.
7author: Bryan O'Sullivan <bos@mailrank.com>
8maintainer: Bryan O'Sullivan <bos@mailrank.com>
9stability: experimental
10tested-with: GHC == 6.12.3
11synopsis: Fast JSON parsing and generation
12cabal-version: >= 1.8
13homepage: http://github.com/mailrank/aeson
14bug-reports: http://github.com/mailrank/aeson/issues
15build-type: Simple
16description:
17 A JSON parsing and generation library optimized for ease of use
18 and high performance.
19 .
20 Parsing performance with GHC 6.12.3 on a late 2010 MacBook Pro
21 (2.66GHz Core i7), for mostly-English tweets from Twitter's JSON
22 search API:
23 .
24 * 854 bytes: 21054 msg\/sec (17.1 MB/sec)
25 .
26 * 6.4 KB: 4545 msg\/sec (28.6 MB/sec)
27 .
28 * 31.2 KB: 856 msg\/sec (26.1 MB/sec)
29 .
30 * 61.5 KB: 403 msg\/sec (24.2 MB/sec)
31 .
32 Handling heavily-escaped text is a little more work. Here is
33 parsing performance with Japanese tweets, where much of the text
34 is entirely Unicode-escaped:
35 .
36 * 14.6 KB: 1250 msg\/sec (17.9 MB/sec)
37 .
38 * 44.1 KB: 363 msg\/sec (15.6 MB/sec)
39 .
40 Encoding performance on the same machine and data:
41 .
42 * 854 bytes: 10647 msg\/sec (8.7 MB/sec)
43 .
44 * 6.4 KB: 2098 msg\/sec (13.2 MB/sec)
45 .
46 * 31.2 KB: 422 msg\/sec (12.9 MB/sec)
47 .
48 * 61.5 KB: 219 msg\/sec (13.2 MB/sec)
49 .
50 (A note on naming: in Greek mythology, Aeson was the father of Jason.)
52extra-source-files:
53 README.markdown
54 benchmarks/AesonParse.hs
55 benchmarks/EncodeFile.hs
56 benchmarks/JsonParse.hs
57 benchmarks/Makefile
58 benchmarks/ReadFile.hs
59 benchmarks/parse.py
60 benchmarks/json-data/example.json
61 benchmarks/json-data/integers.json
62 benchmarks/json-data/jp10.json
63 benchmarks/json-data/jp20.json
64 benchmarks/json-data/jp50.json
65 benchmarks/json-data/jp100.json
66 benchmarks/json-data/numbers.json
67 benchmarks/json-data/twitter1.json
68 benchmarks/json-data/twitter10.json
69 benchmarks/json-data/twitter20.json
70 benchmarks/json-data/twitter50.json
71 benchmarks/json-data/twitter100.json
73flag developer
74 description: operate in developer mode
75 default: False
77library
78 exposed-modules:
79 Data.Aeson
80 Data.Aeson.Encode
81 Data.Aeson.Generic
82 Data.Aeson.Parser
83 Data.Aeson.Types
85 other-modules:
86 Data.Aeson.Functions
88 build-depends:
89 attoparsec >= 0.8.5.0,
90 base == 4.*,
91 blaze-builder >= 0.2.1.4,
92 bytestring,
93 containers,
94 deepseq,
95 monads-fd,
96 old-locale,
97 syb,
98 text >= 0.11.0.2,
99 time,
100 vector >= 0.7
102 if flag(developer)
103 ghc-options: -Werror
104 ghc-prof-options: -auto-all
106 ghc-options: -Wall
108source-repository head
109 type: git
110 location: http://github.com/mailrank/aeson
112source-repository head
113 type: mercurial
114 location: http://bitbucket.org/bos/aeson