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

GHC 10.0.0.20260917 · lts/ghc-10.0.x · a889611 · 2026-10-18

Moduleaeson-2.2.5.1Haskell2010

Data.Aeson.QQ.Simple

Like Data.Aeson.QQ but without interpolation.

  • 1 value
  • Packageaeson-2.2.5.1
  • Exports1
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceSimple.hs
valueaesonQQ :: QuasiQuoter
#

Converts a string representation of a JSON value into Value at compile-time.

{-# LANGUAGE QuasiQuotes #-}

import Data.Aeson (Value)
import Data.Aeson.QQ.Simple

joe :: Value
joe = [aesonQQ|{ "name": "Joe", "age": 12 }|]