ghc-8.8.3: The GHC API
Safe HaskellNone
LanguageHaskell2010

Json

Synopsis

Documentation

data JsonDoc where Source #

Simple data type to represent JSON documents.

class ToJson a where Source #

Methods

json :: a -> JsonDoc Source #

Instances

Instances details
ToJson SrcSpan # 
Instance details

Defined in SrcLoc

Methods

json :: SrcSpan -> JsonDoc Source #

ToJson RealSrcSpan # 
Instance details

Defined in SrcLoc

ToJson Severity # 
Instance details

Defined in ErrUtils

ToJson WarnReason # 
Instance details

Defined in CmdLineParser

ToJson WarnReason # 
Instance details

Defined in DynFlags