help-esb-0.1.2: A Haskell client for the Help.com team's ESB.

Safe HaskellNone

JSON.Basic.Response

Documentation

data Meta Source

Constructors

Meta 

Fields

h_type :: Text
 
h_id :: [Char]
 

Instances

Show Meta 
Generic Meta 
ToJSON Meta 
FromJSON Meta 

data Message Source

Constructors

Message 

Fields

h_meta :: Meta
 

Instances

Show Message 
Generic Message 
ToJSON Message 
FromJSON Message 

encode :: ToJSON a => a -> ByteString

decode :: FromJSON a => ByteString -> Maybe a

eitherDecode :: FromJSON a => ByteString -> Either String a