HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

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.