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
Change log CHANGELOG
Dependencies aeson (>=0.4 && <0.12), base (>=4.8 && <5) [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 Wed Jul 13 04:42:57 UTC 2016
Distributions LTSHaskell:0.1.1.3, NixOS:0.1.1.3, Stackage:0.1.1.3
Downloads 2163 total (134 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
Last success reported on 2016-10-26 [all 4 reports]

Modules

  • Data
    • Aeson
      • Data.Aeson.Yak

Downloads

Maintainer's Corner

For package maintainers and hackage trustees