|
| Generics.Regular.JSON | | Portability | non-portable | | Stability | experimental | | Maintainer | chris@eidhof.nl |
|
|
|
| Description |
Generic generation of JSON values. Note that the generic functions are only defined for record datatypes that contain a single constructor. The code that is generated by gto should be parseable by gfrom. |
|
| Synopsis |
|
|
|
| Documentation |
|
|
| The function gfrom tries to parse a JSValue. The Result datatype is used for error-messages if parsing fails. |
|
|
| The function gto generates a JSValue for all types that are an instance of GJSON. |
|
|
| This class is used for both generation and parsing of JSON. | | Instances | |
|
|
| Produced by Haddock version 2.7.2 |