HORIZON HASKELLDocslts/ghc-10.0.x8174fa42026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8174fa4 · 2026-10-11

Moduleaeson-2.3.2.0Haskell2010

Data.Aeson.Decoding

Conversion to and from aeson Value.

  • 11 values
  • Packageaeson-2.3.2.0
  • Exports11
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceDecoding.hs
valuedecode :: FromJSON a => ByteString -> Maybe a
#

Efficiently deserialize a JSON value from a lazy L.ByteString. If this fails due to incomplete or invalid input, Nothing is returned.

valuetoEitherValue
  1. :: Tokens k e

    tokens

  2. -> Either e (Value, k)

    either token error or value and leftover.

#

Convert Tokens to Value.

The resulting value will be in normal form if its forced. In other words, there shouldn't be thunks inside.