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