Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 386 Bytes

README.md

File metadata and controls

11 lines (8 loc) · 386 Bytes

aeson-yak

A Haskell helper library to help aeson parse and output JSON elements that may or may not be a list, or exist.


According to the standard promoted by Schema.org, the following are all legally the same object:

{ field: [data1, data2] }
{ field: data }
{ }

This library provides an intermediary data type and supporting functions to shave that stupid yak.