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

Text.JSON.JSONParse

Description

Parsing JSON object values.

Synopsis

Documentation

class JSONParse j p e | j -> p, j -> e whereSource

Parsing JSON object values.

Methods

parseJSONSource

Arguments

:: String

Source name.

-> p

The value to parse.

-> Either e j

Either error or a JSON object.

Parses a value into either an error or a JSON object.

parseJSON'Source

Arguments

:: JSONParse j p e 
=> p

The value to parse.

-> Either e j

Either error or a JSON object.

Parse a value with an empty source name.