Maintainer | bastiaan.heeren@ou.nl |
---|---|
Stability | provisional |
Portability | portable (depends on ghc) |
Safe Haskell | Safe |
Language | Haskell98 |
Support for JavaScript Object Notation (JSON) and remote procedure calls using JSON. JSON is a lightweight alternative for XML.
Documentation
listToJSON :: [a] -> JSON Source #
fromJSON :: Monad m => JSON -> m a Source #
listFromJSON :: Monad m => JSON -> m [a] Source #
InJSON Bool Source # | |
InJSON Char Source # | |
InJSON Double Source # | |
InJSON Int Source # | |
InJSON Integer Source # | |
InJSON IOException Source # | |
InJSON RPCResponse Source # | |
InJSON a => InJSON [a] Source # | |
(InJSON a, InJSON b) => InJSON (a, b) Source # | |
(InJSON a, InJSON b, InJSON c) => InJSON (a, b, c) Source # | |
(InJSON a, InJSON b, InJSON c, InJSON d) => InJSON (a, b, c, d) Source # | |
compactJSON :: JSON -> String Source #
jsonRPC :: JSON -> RPCHandler -> IO RPCResponse Source #
data RPCResponse Source #
Response | |
|