Cabal-3.11.0.0: A framework for packaging Haskell software
Safe HaskellSafe-Inferred
LanguageHaskell2010

Distribution.Utils.Json

Description

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

Synopsis

Documentation

data Json Source #

Instances

Instances details
Show Json Source # 
Instance details

Defined in Distribution.Utils.Json

(.=) :: String -> Json -> (String, Json) Source #

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