digestive-functors-aeson icon indicating copy to clipboard operation
digestive-functors-aeson copied to clipboard

Run digestive-functors against a JSON document

Results 3 digestive-functors-aeson issues
Sort by recently updated
recently updated
newest added

I'm struggling with validating an incoming JSON (newbie alert!). 1. Is there a typo in [this example](https://github.com/ocharles/digestive-functors-aeson/blob/88a5b684817d31018df2dcfe3666b0be597311f0/src/Text/Digestive/Aeson.hs#L36) in the docs? Do we really mean to pass `""` as the first...

``` > let form = "testBool" .: bool (Just True) > let mValue = decode "{}" :: Maybe Value > let Just v = mValue > (view, result) result Just...

The code: ``` data Item = { itemComment :: Data.Text.Text , itemAmount :: Int } itemForm :: Form Data.Text.Text IO Item itemForm = Item "commment" .: text Nothing "amount" .:...