| Maintainer | bastiaan.heeren@ou.nl |
|---|---|
| Stability | provisional |
| Portability | portable (depends on ghc) |
| Safe Haskell | None |
| Language | Haskell98 |
Ideas.Text.JSON
Description
Support for JavaScript Object Notation (JSON) and remote procedure calls using JSON. JSON is a lightweight alternative for XML.
Documentation
Methods
listToJSON :: [a] -> JSON Source
fromJSON :: Monad m => JSON -> m a Source
listFromJSON :: Monad m => JSON -> m [a] Source
Instances
| 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
Constructors
| Response | |
Fields
| |
Instances