cardano-api:internal
Safe HaskellNone
LanguageHaskell2010

Cardano.Api.Via.ShowOf

Documentation

newtype ShowOf a Source #

Constructors

ShowOf a 

Instances

Instances details
Show a => ToJSON (ShowOf a) Source # 
Instance details

Defined in Cardano.Api.Via.ShowOf

Methods

toJSON :: ShowOf a -> Value #

toEncoding :: ShowOf a -> Encoding #

toJSONList :: [ShowOf a] -> Value #

toEncodingList :: [ShowOf a] -> Encoding #

omitField :: ShowOf a -> Bool #

Show a => ToJSONKey (ShowOf a) Source # 
Instance details

Defined in Cardano.Api.Via.ShowOf

Methods

toJSONKey :: ToJSONKeyFunction (ShowOf a)

toJSONKeyList :: ToJSONKeyFunction [ShowOf a]

Show a => Show (ShowOf a) Source # 
Instance details

Defined in Cardano.Api.Via.ShowOf

Show a => Pretty (ShowOf a) Source # 
Instance details

Defined in Cardano.Api.Via.ShowOf

Methods

pretty :: ShowOf a -> Doc ann #

prettyList :: [ShowOf a] -> Doc ann #