aeson-0.10.0.0: Fast JSON parsing and encoding

Copyright(c) 2015 Bryan O'Sullivan
LicenseApache
MaintainerBryan O'Sullivan <bos@serpentine.com>
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell98

Data.Aeson.Internal

Description

Internal types and functions.

Note: all declarations in this module are unstable, and prone to being changed at any time.

Synopsis

Documentation

data JSONPathElement Source

Elements of a JSON path used to describe the location of an error.

formatError :: JSONPath -> String -> String Source

Annotate an error message with a JSONPath error location.

ifromJSON :: FromJSON a => Value -> IResult a Source

Convert a value from JSON, failing if the types do not match.

iparse :: (a -> Parser b) -> a -> IResult b Source

Run a Parser.