ghc-aeson - Fast JSON parsing and encoding

Property Value
Distribution openSUSE Tumbleweed
Repository openSUSE Oss all
Package filename ghc-aeson-
Package name ghc-aeson
Package version
Package release 2.7
Package architecture i586
Package type rpm
Category Development/Libraries/Haskell
License BSD-3-Clause
Maintainer -
Download size 580.30 KB
Installed size 4.40 MB
A JSON parsing and encoding library optimized for ease of use and high
To get started, see the documentation for the 'Data.Aeson' module below.
(A note on naming: in Greek mythology, Aeson was the father of Jason.).


Package Version Architecture Repository
ghc-aeson- x86_64 openSUSE Oss
ghc-aeson - - -


Name Value - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


Name Value
ghc-aeson =
ghc-aeson(x86-32) = -


Type URL
Binary Package ghc-aeson-
Source Package ghc-aeson-

Install Howto

Install ghc-aeson rpm package:

# zypper install ghc-aeson




2019-01-19 - Peter Simons <>
- Update Cabal build instructions for more accurate dependencies.
2018-11-25 -
- Update aeson to version
Upstream has edited the change log file since the last release in
a non-trivial way, i.e. they did more than just add a new entry
at the top. You can review the file at:
2018-10-04 -
- Update aeson to version
* Optimizations of generics, thanks to Rémy Oudompheng, here are some numbers for GHC 8.4:
* Compilation time: G/BigProduct.hs is 25% faster, G/BigRecord.hs is 2x faster.
* Runtime performance: BigRecord/toJSON/generic and BigProduct/encode/generic are more than 2x faster.
* Added To/FromJSON instances for `Void` and Generics's `V1`, thanks to Will Yager
* Added To/FromJSON instances for `primitive`'s `Array`, `SmallArray`, `PrimArray` and `UnliftedArray`, thanks to Andrew Thad.
* Fixes handling of `UTCTime` wrt. leap seconds , thanks to Adam Schønemann
* Warning and documentation fixes thanks to tom-bop, Gabor Greif, Ian Jeffries, and Mateusz Cury?o.
2018-07-18 -
- Cosmetic: replace tabs with blanks, strip trailing white space,
and update copyright headers with spec-cleaner.
2018-07-17 -
- Update aeson to version
This release introduces bounds on the size of `Scientific` numbers when they are converted to other arbitrary precision types that do not represent them efficiently in memory.
This means that trying to decode a number such as `1e1000000000` into an `Integer` will now fail instead of using a lot of memory. If you need to represent large numbers you can add a newtype (preferably over `Scientific`) and providing a parser using `withScientific`.
The following instances are affected by this:
* `FromJSON Natural`
* `FromJSONKey Natural`
* `FromJSON Integer`
* `FromJSONKey Integer`
* `FromJSON NominalDiffTime`
For the same reasons the following instances & functions have been removed:
* Remove `FromJSON Data.Attoparsec.Number` instance. Note that `Data.Attoparsec.Number` is deprecated.
* Remove deprecated `withNumber`, use `withScientific` instead.
Finally, encoding integral values with large exponents now uses scientific notation, this saves space for large numbers.
* Catch 0 denominators when parsing Ratio
* Fix bug in generically derived `FromJSON` instances that are using `unwrapUnaryRecords`, thanks to Xia Li-yao
* Allow base-compat 0.10.*, thanks to Oleg Grenrus
Breaking changes:
* `GKeyValue` has been renamed to `KeyValuePair`, thanks to Xia Li-yao
* Removed unused `FromJSON` constraint in `withEmbeddedJson`, thanks to Tristan Seligmann
Other improvements:
* Optimizations of TH toEncoding, thanks to Xia Li-yao
* Optimizations of hex decoding when using the default/pure unescape implementation, thanks to Xia Li-yao
* Improved error message on `Day` parse failures, thanks to Gershom Bazerman
* Add `encodeFile` as well as `decodeFile*` variants, thanks to Markus Hauck
* Documentation       fixes, thanks to Lennart Spitzner
* CPP cleanup, thanks to Ryan Scott

See Also

Package Description
ghc-aeson-compat-0.3.9-1.13.i586.rpm Compatibility layer for aeson
ghc-aeson-compat-0.3.9-1.13.x86_64.rpm Compatibility layer for aeson
ghc-aeson-compat-devel-0.3.9-1.13.i586.rpm Haskell aeson-compat library development files
ghc-aeson-compat-devel-0.3.9-1.13.x86_64.rpm Haskell aeson-compat library development files
ghc-aeson-devel- Haskell aeson library development files
ghc-aeson-devel- Haskell aeson library development files
ghc-aeson-pretty-0.8.7-3.13.i586.rpm JSON pretty-printing library and command-line tool
ghc-aeson-pretty-0.8.7-3.13.x86_64.rpm JSON pretty-printing library and command-line tool
ghc-aeson-pretty-devel-0.8.7-3.13.i586.rpm Haskell aeson-pretty library development files
ghc-aeson-pretty-devel-0.8.7-3.13.x86_64.rpm Haskell aeson-pretty library development files
ghc-annotated-wl-pprint-0.7.0-6.7.i586.rpm The Wadler/Leijen Pretty Printer, with annotation support
ghc-annotated-wl-pprint-0.7.0-6.7.x86_64.rpm The Wadler/Leijen Pretty Printer, with annotation support
ghc-annotated-wl-pprint-devel-0.7.0-6.7.i586.rpm Haskell annotated-wl-pprint library development files
ghc-annotated-wl-pprint-devel-0.7.0-6.7.x86_64.rpm Haskell annotated-wl-pprint library development files
ghc-ansi-terminal-0.9-1.4.i586.rpm Simple ANSI terminal support, with Windows compatibility