HORIZON HASKELLDocslts/ghc-9.14.x7a6c33e2026-10-12Search packagesCtrl K
Theme: |

GHC 9.14.1 · lts/ghc-9.14.x · 7a6c33e · 2026-10-12

Moduleaeson-2.3.2.0Haskell2010

Data.Aeson.QQ.Simple

Like Data.Aeson.QQ but without interpolation.

Synopsis
  • Packageaeson-2.3.2.0
  • Exports1
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceSimple.hs

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 }|]