aeson-value-parser-0.11.3.1: An API for parsing "aeson" JSON tree into Haskell types

Safe HaskellNone
LanguageHaskell2010

Aeson.ValueParser

Contents

Description

A parser DSL for the "aeson" model of the JSON tree.

Synopsis

Documentation

Value parsers

Object parsers

foldlFields :: (a -> (Text, b) -> a) -> a -> Value b -> Object a Source

Array parsers

foldlElements :: (a -> b -> a) -> a -> Value b -> Array a Source

foldlElements1 :: (a -> a -> a) -> Value a -> Array a Source

foldrElements :: (b -> a -> a) -> a -> Value b -> Array a Source