linnet-aeson: Aeson JSON support for Linnet

[ library, linnet ] [ Propose Tags ]

Please see the documentation at http://linnet.io


[Skip to Readme]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.1, 0.1.0.2, 0.2.0.0, 0.3.0.0, 0.4.0.0, 0.4.0.1
Dependencies aeson (>=1.4.4.0), base (>=4.7 && <5), bytestring (>=0.10.8.2), linnet (>=0.4.0.1) [details]
License LicenseRef-Apache
Copyright 2019 Sergey Kolbasov
Author Sergey Kolbasov
Maintainer whoisliar@gmail.com
Category linnet
Home page https://github.com/haskell-linnet/linnet-aeson#readme
Bug tracker https://github.com/haskell-linnet/linnet-aeson/issues
Source repo head: git clone https://github.com/haskell-linnet/linnet-aeson
Uploaded by sergeykolbasov at 2019-09-18T20:38:38Z
Distributions
Downloads 2253 total (21 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2019-09-18 [all 1 reports]

Readme for linnet-aeson-0.4.0.1

[back to package description]

Linnet Aeson

This package adds support of JSON requests & responses in Linnet library using aeson.

Add following import to put orphan instances of Encode and Decode in scope:

import Linnet.Aeson

Each type that has FromJSON and ToJSON instances automatically gets corresponding instances of Decode ApplicationJson and Encode ApplicationJson.