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

GHC 9.14.1 · lts/ghc-9.14.x · b2f3bfd · 2026-10-11

ModuleCabal-3.16.0.0Haskell2010

Distribution.Utils.Json

Extremely simple JSON helper. Don't do anything too fancy with this!

  • 1 type
  • 2 values
  • PackageCabal-3.16.0.0
  • Exports3
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceJson.hs
value(.=) :: String -> Json -> (String, Json)
#

A shorthand for building up JsonObjects >>> JsonObject [ "a" .= JsonNumber 42, "b" .= JsonBool True ] JsonObject [("a",JsonNumber 42),("b",JsonBool True)]