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 [faq] 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
Dependencies aeson (>=0.4 && <0.11), base (==4.8.*) [details]
License MIT
Copyright Copyright (c) Theodore Lief Gannon, 2015
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 Fri Oct 23 06:38:12 UTC 2015
Distributions LTSHaskell:0.1.1.3, NixOS:0.1.1.3, Stackage:0.1.1.3
Downloads 2745 total (133 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2015-10-23 [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees