HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Moduleaeson-2.2.3.0Haskell2010

Data.Aeson.Decoding

Convertion to and from aeson Value.

  • 11 values
  • Packageaeson-2.2.3.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.