elm-bridge-0.1.0.0: Derive Elm types from Haskell types

Safe HaskellSafe-Inferred
LanguageHaskell2010

Elm.Json

Description

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.

Synopsis

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