aeson-yak: Handle JSON that may or may not be a list, or exist

[ data, library, mit ] [ Propose Tags ]

According to the standard promoted by Schema.org, the same JSON object field may legally contain an array or a single element, be null, or be absent entirely. This library provides an intermediary data type and supporting functions to help aeson parse and output JSON conforming to this frustrating behavior.

Versions 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.1, 0.1.1.1, 0.1.1.2, 0.1.1.3
Change log CHANGELOG
Dependencies aeson (>=0.4), base (>=4.8 && <5) [details]
License MIT
Copyright Copyright (c) Theodore Lief Gannon, 2015-2017
Author Theodore Lief Gannon
Maintainer tanuki@gmail.com
Category Data
Home page https://github.com/tejon/aeson-yak
Source repo head: git clone https://github.com/tejon/aeson-yak
Uploaded by tejon at Wed Dec 20 04:54:32 UTC 2017
Distributions LTSHaskell:0.1.1.3, NixOS:0.1.1.3, Stackage:0.1.1.3
Downloads 1443 total (17 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-12-20 [all 4 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees