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

Text.JSON.Failure

Synopsis

Documentation

data NoSuchField z Source

An object field was attempted to access but the object has no such field.

Constructors

NoSuchField z 

Instances

data ExpectedObject j Source

The JSON value was expected to be an object but it wasn't.

Constructors

ExpectedObject j 

data ExpectedBool j Source

The JSON value was expected to be a boolean but it wasn't.

Constructors

ExpectedBool j 

Instances

data ExpectedNumber j Source

The JSON value was expected to be a number but it wasn't.

Constructors

ExpectedNumber j 

data ExpectedString j Source

The JSON value was expected to be a string but it wasn't.

Constructors

ExpectedString j 

data ExpectedArray j Source

The JSON value was expected to be an array but it wasn't.

Constructors

ExpectedArray j