descriptive-0.0.0: Self-describing consumers/parsers; forms, cmd-line args, JSON, etc.
Descriptive.JSON
Description
A JSON API which describes itself.
Synopsis
data Doc Source
Description of parseable things.
Constructors
Instances
obj :: Text -> Consumer Object Doc a -> Consumer Value Doc a Source
Consume an object.
key :: Text -> Consumer Value Doc a -> Consumer Object Doc a Source
Consume from object at the given key.
string :: Text -> Consumer Value Doc Text Source
Consume a string.
integer :: Text -> Consumer Value Doc Integer Source
Consume an integer.