aeson: Fast JSON parsing and encoding
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
Warnings:
- 'ghc-options: -O0' is not needed. Use the --disable-optimization configure flag.
- 'ghc-options: -O2' is rarely needed. Check that it is giving a real benefit and not just imposing longer compile times on your users.
A JSON parsing and encoding library optimized for ease of use and high performance.
To get started, see the documentation for the Data.Aeson
module
below.
Parsing performance on a late 2013 MacBook Pro (2.6GHz Core i7), running 64-bit GHC 7.10.1, for mostly-English tweets from Twitter's JSON search API:
6.4 KB payloads, English: 7570 msg/sec (47.6 MB/sec)
14.6 KB payloads, Japanese: 3261 msg/sec (46.6 MB/sec)
Encoding performance on the same machine and data:
6.4 KB payloads, English: 22738 msg/sec (142.9 MB/sec)
14.6 KB payloads, Japanese: 15911 msg/sec (227.4 MB/sec)
(A note on naming: in Greek mythology, Aeson was the father of Jason.)
[Skip to Readme]
Properties
Modules
[Index]
Flags
Manual Flags
Name | Description | Default |
---|---|---|
developer | operate in developer mode | Disabled |
fast | compile without optimizations | Disabled |
cffi | Controls whether to include c-ffi bits or pure haskell. Default to False for security. | Disabled |
Automatic Flags
Name | Description | Default |
---|---|---|
bytestring-builder | Depend on the bytestring-builder package for backwards compatibility. | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- aeson-1.2.3.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees