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

ModuleCabal-3.12.1.0Haskell2010

Distribution.Utils.Json

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

  • 1 type
  • 2 values
  • PackageCabal-3.12.1.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)]