Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
Simple data type to represent JSON documents.
renderJSON :: JsonDoc -> SDoc Source #
escapeJsonString :: String -> String Source #
Instances
ToJson WarnReason # | |
Defined in GHC.Driver.CmdLine json :: WarnReason -> JsonDoc Source # | |
ToJson WarnReason # | |
Defined in GHC.Driver.Flags json :: WarnReason -> JsonDoc Source # | |
ToJson Severity # | |
ToJson RealSrcSpan # | |
Defined in GHC.Types.SrcLoc json :: RealSrcSpan -> JsonDoc Source # | |
ToJson SrcSpan # | |