|
Text.JSON.String | Portability | portable | Stability | provisional | Maintainer | Sigbjorn Finne <sof@galois.com> |
|
|
|
|
|
Description |
|
|
Synopsis |
|
|
|
|
Parsing
|
|
|
Parsing JSON
The type of JSON parsers for String
| Instances | |
|
|
|
Run a JSON reader on an input String, returning some Haskell value.
All input will be consumed.
|
|
Reading JSON
|
|
|
Read the JSON null type
|
|
|
Read the JSON Bool type
|
|
|
Read the JSON String type
|
|
|
Read an Integer or Double in JSON format, returning a Rational
|
|
|
Read a list in JSON format
|
|
|
Read an object in JSON format
|
|
|
Read one of several possible JS types
|
|
|
Top level JSON can only be Arrays or Objects
|
|
Writing JSON
|
|
|
Write the JSON null type
|
|
|
Write the JSON Bool type
|
|
|
Show a list in JSON format
|
|
|
Show an association list in JSON format
|
|
|
Show a Rational in JSON format
|
|
|
|
|
Show JSON values
|
|
|
Writing JSON
Show strict JSON top level types. Values not permitted
at the top level are wrapped in a singleton array.
|
|
Produced by Haddock version 2.6.1 |