Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
This module implements a generator for JSON serialisers and parsers of arbitrary elm types. Please note: It's still very hacky and might not work for all possible elm types yet.
- jsonParserForDef :: ETypeDef -> String
- jsonSerForDef :: ETypeDef -> String
Documentation
jsonParserForDef :: ETypeDef -> String Source
Compile a JSON parser for an Elm type definition
jsonSerForDef :: ETypeDef -> String Source
Compile a JSON serializer for an Elm type definition