ghc-8.4.0.20171214: 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 #

Minimal complete definition

json

Methods

json :: a -> JsonDoc Source #

Instances
ToJson SrcSpan # 
Instance details

Methods

json :: SrcSpan -> JsonDoc Source #

ToJson RealSrcSpan # 
Instance details
ToJson Severity # 
Instance details
ToJson WarnReason # 
Instance details
ToJson WarnReason # 
Instance details