Data.Conduit.JsonRpc.Internal.Types
Description
data Request a Source #
Constructors
Fields
Defined in Data.Conduit.JsonRpc.Internal.Types
Methods
parseJSON :: Value -> Parser (Request Value) #
parseJSONList :: Value -> Parser [Request Value] #
omittedField :: Maybe (Request Value) #
toJSON :: Request a -> Value #
toEncoding :: Request a -> Encoding #
toJSONList :: [Request a] -> Value #
toEncodingList :: [Request a] -> Encoding #
omitField :: Request a -> Bool #
data Response a Source #
parseJSON :: Value -> Parser (Response a) #
parseJSONList :: Value -> Parser [Response a] #
omittedField :: Maybe (Response a) #
toJSON :: Response Value -> Value #
toEncoding :: Response Value -> Encoding #
toJSONList :: [Response Value] -> Value #
toEncodingList :: [Response Value] -> Encoding #
omitField :: Response Value -> Bool #
showsPrec :: Int -> Response a -> ShowS #
show :: Response a -> String #
showList :: [Response a] -> ShowS #