5category: Text, Web, JSON
6copyright: (c) 2011-2016 Bryan O'Sullivan
7 (c) 2011 MailRank, Inc.
8author: Bryan O'Sullivan <bos@serpentine.com>
9maintainer: Adam Bergmark <adam@bergmark.nl>
10stability: experimental
11tested-with: GHC == 7.4.2, GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.1
12synopsis: Fast JSON parsing and encoding
14homepage: https://github.com/bos/aeson
15bug-reports: https://github.com/bos/aeson/issues
18 A JSON parsing and encoding library optimized for ease of use
21 To get started, see the documentation for the @Data.Aeson@ module
24 Parsing performance on a late 2013 MacBook Pro (2.6GHz Core i7),
25 running 64-bit GHC 7.10.1, for mostly-English tweets from Twitter's
28 * 6.4 KB payloads, English: 7570 msg\/sec (47.6 MB\/sec)
30 * 14.6 KB payloads, Japanese: 3261 msg\/sec (46.6 MB\/sec)
32 Encoding performance on the same machine and data:
34 * 6.4 KB payloads, English: 22738 msg\/sec (142.9 MB\/sec)
36 * 14.6 KB payloads, Japanese: 15911 msg\/sec (227.4 MB\/sec)
38 (A note on naming: in Greek mythology, Aeson was the father of Jason.)
45 benchmarks/Compare/*.hs
48 benchmarks/json-data/*.json
49 include/overlapping-compat.h
50 include/incoherent-compat.h
59 description: operate in developer mode
64 description: compile without optimizations
68flag bytestring-builder
69 description: Depend on the bytestring-builder package for backwards compatibility.
74 default-language: Haskell2010
84 Data.Aeson.Encoding.Internal
86 Data.Aeson.Internal.Time
93 Data.Aeson.Encoding.Builder
94 Data.Aeson.Internal.Functions
95 Data.Aeson.Parser.Internal
96 Data.Aeson.Parser.Unescape
97 Data.Aeson.Parser.Time
98 Data.Aeson.Types.FromJSON
99 Data.Aeson.Types.Generic
100 Data.Aeson.Types.ToJSON
101 Data.Aeson.Types.Class
102 Data.Aeson.Types.Internal
105 attoparsec >= 0.13.0.1,
107 base-compat >= 0.9.1 && < 0.10,
108 containers >= 0.2.4.1,
113 scientific >= 0.3.4.7 && < 0.4,
114 tagged >=0.8.3 && <0.9,
115 template-haskell >= 2.7,
118 time-locale-compat >= 0.1.1 && < 0.2,
119 unordered-containers >= 0.2.5.0,
120 uuid-types >= 1.0.3 && <1.1,
123 if flag(bytestring-builder)
124 build-depends: bytestring >= 0.9 && < 0.10.4,
125 bytestring-builder >= 0.10.4 && < 1
127 build-depends: bytestring >= 0.10.4
130 -- `Data.Semigroup` and `Control.Monad.Fail` and `Control.Monad.IO.Class` are available in base only since GHC 8.0 / base 4.9
132 semigroups >= 0.18.2 && < 0.19,
133 transformers >= 0.2.2.0,
134 transformers-compat >= 0.3,
137 if !impl(ghc >= 7.10)
138 -- `Numeric.Natural` is available in base only since GHC 7.10 / base 4.8
139 build-depends: nats >= 1 && < 1.2
145 ghc-prof-options: -auto-all
152 include-dirs: include
153 c-sources: cbits/unescape_string.c
156 default-language: Haskell2010
157 type: exitcode-stdio-1.0
158 hs-source-dirs: tests
161 DataFamilies.Properties
162 DataFamilies.Instances
163 DataFamilies.Encoders
172 UnitTests.NullaryConstructors
174 ghc-options: -Wall -threaded -rtsopts
178 QuickCheck >= 2.7 && <2.9.3,
183 base-orphans >= 0.5.3 && <0.6,
189 generic-deriving >= 1.10 && < 1.12,
196 test-framework-hunit,
197 test-framework-quickcheck2,
201 unordered-containers,
204 quickcheck-instances >=0.3.12
206 if flag(bytestring-builder)
207 build-depends: bytestring >= 0.9 && < 0.10.4,
208 bytestring-builder >= 0.10.4 && < 1
210 build-depends: bytestring >= 0.10.4
214 semigroups >= 0.18.2 && < 0.19,
215 transformers >= 0.2.2.0,
216 transformers-compat >= 0.3
218 if !impl(ghc >= 7.10)
219 build-depends: nats >=1 && <1.2
222 build-depends: hashable-time >= 0.2 && <0.3
224source-repository head
226 location: git://github.com/bos/aeson.git
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list