Summary
A JSON parsing and encoding library optimized for ease of use and high performance. /Note/: if you use GHCi or Template Haskell, please see the @README@ file for important details about building this package, and other packages that depend on it: <https://github.com/mailrank/aeson#readme> Parsing performance on a late 2010 MacBook Pro (2.66GHz Core i7), for mostly-English tweets from Twitter's JSON search API: * 0.8 KB, 32-bit GHC 6.12.3: 30538 msg\/sec (24.9 MB\/sec) * 0.8 KB, 64-bit GHC 7.0.3: 31204 msg\/sec (25.4 MB\/sec) * 6.4 KB, 32-bit GHC 6.12.3: 6731 msg\/sec (42.3 MB\/sec) * 6.4 KB, 64-bit GHC 7.0.3: 6627 msg\/sec (41.7 MB\/sec) * 11.8 KB, 32-bit GHC 6.12.3: 3751 msg\/sec (43.2 MB\/sec) * 11.8 KB, 64-bit GHC 7.0.3: 3381 msg\/sec (38.9 MB\/sec) * 31.2 KB, 32-bit GHC 6.12.3: 1306 msg\/sec (39.8 MB\/sec) * 31.2 KB, 64-bit GHC 7.0.3: 1132 msg\/sec (34.5 MB\/sec) * 61.5 KB, 32-bit GHC 6.12.3: 616 msg\/sec (37.0 MB\/sec) * 61.5 KB, 64-bit GHC 7.0.3: 534 msg\/sec (32.1 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, 32-bit GHC 6.12.3: 2315 msg\/sec (33.1 MB\/sec) * 14.6 KB, 64-bit GHC 7.0.3: 1986 msg\/sec (28.4 MB\/sec) * 44.1 KB, 32-bit GHC 6.12.3: 712 msg\/sec (30.7 MB\/sec) * 44.1 KB, 64-bit GHC 7.0.3: 634 msg\/sec (27.3 MB\/sec) * 82.9 KB, 32-bit GHC 6.12.3: 377 msg\/sec (30.5 MB\/sec) * 82.9 KB, 64-bit GHC 7.0.3: 332 msg\/sec (26.9 MB\/sec) Encoding performance on the same machine and data: * English, 854 bytes: 43439 msg\/sec (35.4 MB/sec) * English, 6.4 KB: 7127 msg\/sec (44.8 MB/sec) * Engish, 61.5 KB: 765 msg\/sec (46.0 MB/sec) * Japanese, 14.6 KB: 4727 msg\/sec (67.5 MB/sec) * Japanese, 44.1 KB: 1505 msg\/sec (64.8 MB/sec) (A note on naming: in Greek mythology, Aeson was the father of Jason.)
Versions
v1.4.7.1 :: 0/1.4.7.1 :: gentoo
- Modified
- License
- BSD
- Keywords
- ~amd64 ~x86
- USE flags
- cffi doc fast hscolour profile test
USE flags
General
- cffi
- Controls whether to include c-ffi bits or pure haskell. Default to False for security.
- doc
- Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
- fast
- compile without optimizations
- hscolour
- Include coloured haskell sources to generated documentation (dev-haskell/hscolour)
- profile
- Add support for software performance analysis (will likely vary from ebuild to ebuild)
- test
- Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
Dependencies
dev-haskell / attoparsec : Fast combinator parsing for bytestrings and text
dev-haskell / base-compat : A compatibility layer for base
dev-haskell / base-compat-batteries : base-compat with extra batteries
dev-haskell / base-orphans : Backwards-compatible orphan instances for base
dev-haskell / base16-bytestring : Fast base16 (hex) encoding and decoding for ByteStrings
dev-haskell / cabal : A framework for packaging Haskell software
dev-haskell / contravariant : Contravariant functors
dev-haskell / diff : O(ND) diff algorithm in haskell
dev-haskell / dlist : Difference lists
dev-haskell / fail : Forward-compatible MonadFail class
dev-haskell / generic-deriving : Generic programming library for generalised deriving
dev-haskell / hashable : A class for types that can be converted to a hash value
dev-haskell / hashable-time : Hashable instances for Data.Time
dev-haskell / hscolour : Colourise Haskell code
dev-haskell / integer-logarithms : Integer logarithms
dev-haskell / nats : Natural numbers
dev-haskell / primitive : Primitive memory-related operations
dev-haskell / quickcheck : Automatic testing of Haskell programs
dev-haskell / quickcheck-instances : Common quickcheck instances
dev-haskell / scientific : Numbers represented using scientific notation
dev-haskell / semigroups : Anything that associates
dev-haskell / tagged : Haskell 98 phantom types to avoid unsafely passing dummy arguments
dev-haskell / tasty : Modern and extensible testing framework
dev-haskell / tasty-golden : Golden tests support for tasty
dev-haskell / tasty-hunit : HUnit support for the Tasty test framework
dev-haskell / tasty-quickcheck : QuickCheck support for the Tasty test framework
dev-haskell / text : An efficient packed Unicode text type
dev-haskell / th-abstraction : Nicer interface for reified information about data types
dev-haskell / time-compat : This packages tries to compat as much of \'time\' features as possible
dev-haskell / transformers-compat : A small compatibility shim for the transformers library
dev-haskell / unordered-containers : Efficient hashing-based container types
dev-haskell / uuid-types : Type definitions for Universally Unique Identifiers
dev-haskell / vector : Efficient Arrays
dev-haskell / void : A Haskell 98 logically uninhabited data type
Runtime Dependencies
dev-haskell / attoparsec : Fast combinator parsing for bytestrings and text
dev-haskell / base-compat-batteries : base-compat with extra batteries
dev-haskell / contravariant : Contravariant functors
dev-haskell / dlist : Difference lists
dev-haskell / fail : Forward-compatible MonadFail class
dev-haskell / hashable : A class for types that can be converted to a hash value
dev-haskell / nats : Natural numbers
dev-haskell / primitive : Primitive memory-related operations
dev-haskell / scientific : Numbers represented using scientific notation
dev-haskell / semigroups : Anything that associates
dev-haskell / tagged : Haskell 98 phantom types to avoid unsafely passing dummy arguments
dev-haskell / text : An efficient packed Unicode text type
dev-haskell / th-abstraction : Nicer interface for reified information about data types
dev-haskell / time-compat : This packages tries to compat as much of \'time\' features as possible
dev-haskell / transformers-compat : A small compatibility shim for the transformers library
dev-haskell / unordered-containers : Efficient hashing-based container types
dev-haskell / uuid-types : Type definitions for Universally Unique Identifiers
dev-haskell / vector : Efficient Arrays
dev-haskell / void : A Haskell 98 logically uninhabited data type
Depending packages
app-text / pandoc : Conversion between markup formats
dev-haskell / aeson-compat : Compatibility layer for aeson
dev-haskell / aeson-diff : Extract and apply patches to JSON documents
dev-haskell / aeson-pretty : JSON pretty-printing library and command-line tool
dev-haskell / aeson-qq : JSON quasiquoter for Haskell
dev-haskell / authenticate : Authentication methods for Haskell web applications
dev-haskell / aws : Amazon Web Services (AWS) for Haskell
dev-haskell / binary-instances : Orphan instances for binary
dev-haskell / binary-tagged : Tagged binary serialisation
dev-haskell / casa-client : Client for Casa
dev-haskell / casa-types : Types for Casa
dev-haskell / citeproc : Generates citations and bibliography from CSL styles
dev-haskell / criterion : Robust, reliable performance measurement and analysis
dev-haskell / criterion-measurement : Criterion measurement functionality and associated types
dev-haskell / doctemplates : Pandoc-style document templates
dev-haskell / ekg : Remote monitoring of processes
dev-haskell / ekg-json : JSON encoding of ekg metrics
dev-haskell / esqueleto : Type-safe EDSL for SQL queries on persistent backends
dev-haskell / git-lfs : git-lfs protocol
dev-haskell / hackage-security : Hackage security library
dev-haskell / hlint : Source code suggestions
dev-haskell / hoauth2 : Haskell OAuth2 authentication client
dev-haskell / hpack : An alternative format for Haskell packages
dev-haskell / hsyaml-aeson : JSON to YAML Adapter
dev-haskell / htf : The Haskell Test Framework
dev-haskell / http-conduit : HTTP client package with conduit interface and HTTPS support
dev-haskell / http-streams : An HTTP client using io-streams
dev-haskell / http2 : HTTP/2.0 library including frames and HPACK
dev-haskell / ipynb : Data structure for working with Jupyter notebooks (ipynb)
dev-haskell / lens-aeson : Law-abiding lenses for aeson
dev-haskell / microlens-aeson : Law-abiding lenses for Aeson, using microlens
dev-haskell / microstache : Mustache templates for Haskell
dev-haskell / mustache : A mustache template parser library
dev-haskell / pandoc-citeproc : Supports using pandoc with citeproc
dev-haskell / pandoc-types : Types for representing a structured document
dev-haskell / pantry : Content addressable Haskell package management
dev-haskell / path : Support for well-typed paths
dev-haskell / persistent : Type-safe, multi-backend data serialization
dev-haskell / persistent-mysql : Backend for the persistent library using MySQL database server
dev-haskell / persistent-postgresql : Backend for the persistent library using postgresql
dev-haskell / persistent-qq : Provides a quasi-quoter for raw SQL for persistent
dev-haskell / persistent-sqlite : Backend for the persistent library using sqlite3
dev-haskell / persistent-template : Type-safe, non-relational, multi-backend persistence
dev-haskell / persistent-test : Tests for Persistent
dev-haskell / postgresql-simple : Mid-Level PostgreSQL client library
dev-haskell / quickcheck-classes : QuickCheck common typeclasses
dev-haskell / rio-prettyprint : Pretty-printing for RIO
dev-haskell / shakespeare : A toolkit for making compile-time interpolated templates
dev-haskell / skylighting-core : syntax highlighting library
dev-haskell / stack : The Haskell Tool Stack
dev-haskell / statistics : A library of statistical types, data, and functions
dev-haskell / texmath : Conversion between formats used to represent mathematics
dev-haskell / thyme : A faster time library
dev-haskell / tree-diff : Diffing of (expression) trees
dev-haskell / uri-bytestring-aeson : Aeson instances for URI Bytestring
dev-haskell / wai-extra : Provides some basic WAI handlers and middleware
dev-haskell / wreq : An easy-to-use HTTP client library
dev-haskell / yaml : Support for parsing and rendering YAML documents
dev-haskell / yesod : Creation of type-safe, RESTful web applications
dev-haskell / yesod-auth : Authentication for Yesod
dev-haskell / yesod-auth-hashdb : Authentication plugin for Yesod
dev-haskell / yesod-core : Creation of type-safe, RESTful web applications
dev-haskell / yesod-form : Form handling support for Yesod Web Framework
dev-haskell / yesod-test : integration testing for WAI/Yesod Applications
dev-util / shellcheck : Shell script analysis tool
dev-vcs / git-annex : manage files with git, without checking their contents into git
sci-mathematics / agda : A dependently typed functional programming language and proof assistant
www-apps / gitit : Wiki using happstack, git or darcs, and pandoc
Change logs
- Repository mirror & CI · gentoo
Merge updates from master - Sergei Trofimovich · gentoo
dev-haskell/aeson: drop old
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Jack Todaro · gentoo
dev-haskell/aeson: bump up to 1.4.7.1
Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Jack Todaro <solpeth@posteo.org> Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Sergei Trofimovich · gentoo
*/*: destabilize dev-lang/ghc for all arches
dev-lang/ghc is a fast-moving target without much of stable API across major GHC releases. This makes stabilization process a fragile process. The change moves all haskell revdeps to pure ~arch. There are not many outside dev-haskell/*: - app-emulation/ganeti - app-text/pandoc - dev-util/bustle - dev-util/shellcheck - dev-vcs/darcs - x11-wm/xmonad/xmonad Existing stable haskell users are recommended to keyword used packages and all of dev-haskell/* to ease upgrades. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
*/*: Inline mirror://hackage and update URIs
This change inlines mirror://hackage in all ebuilds, and updates URIs to the modern form (old URIs redirect to that). The change has been made using the following command: find -name '*.ebuild' -exec sed -r -i \ -e 's@mirror://hackage/@https://hackage.haskell.org/@g' \ -e 's@https://hackage.haskell.org/packages/archive/([^/]*)/([^/]*)/@https://hackage.haskell.org/package/\1-\2/@g' \ -e '/hackage\.haskell\.org/s@\$\{PN}-\$\{PV}@${P}@g' \ -e '/hackage\.haskell\.org/s@\$\{MY_PN}-\$\{PV}@${MY_P}@g' \ -e '/hackage\.haskell\.org/s@\$\{PN}-\$\{MY_PV}@${MY_P}@g' \ {} + Signed-off-by: Michał Górny <mgorny@gentoo.org> - Sergei Trofimovich · gentoo
dev-haskell/aeson: stable 1.0.2.1 for x86/amd64, bug #631138
Package-Manager: Portage-2.3.10, Repoman-2.3.3 RepoMan-Options: --include-arches="amd64 x86" - Sergei Trofimovich · gentoo
dev-haskell/aeson: add missing scientific[bytestring-builder] dependency, bug #610822
Reported-by: Christian Albertsen Bug: https://bugs.gentoo.org/610822 Package-Manager: Portage-2.3.5, Repoman-2.3.2 - Robin H. Johnson · gentoo
Drop $Id$ per council decision in bug #611234.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> - Sergei Trofimovich · gentoo
dev-haskell/aeson: bump up to 1.0.2.1
Package-Manager: Portage-2.3.3, Repoman-2.3.1 - Sergei Trofimovich · gentoo
dev-haskell/aeson: amd64/x86 stable, bug #563090
Package-Manager: portage-2.2.28 - Sergei Trofimovich · gentoo
dev-haskell/aeson: disable USE=developer, bug #561100
Flag only enables -Werror. Reported-by: Paul Osmialowski Package-Manager: portage-2.2.20 - Sergei Trofimovich · gentoo
dev-haskell/aeson: amd64, x86 stable, bug #559988
Package-Manager: portage-2.2.20 - Robin H. Johnson · gentoo
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed