JSON-Combinator-0.2.3: A combinator library on top of a generalised JSON type

Text.JSON.JSONField

Description

The base functions for accessing JSON object fields.

Documentation

class JSONField j f | j -> f whereSource

Methods

field :: Failure (NoSuchField f) m => f -> j -> m jSource

fields :: Failure (ExpectedObject j) m => j -> m [f]Source

values :: Failure (ExpectedObject j) m => j -> m [j]Source

Returns the potential object field values of a JSON value.