@hackage / json-spec-elm-servant

Generated elm code for servant APIs.

Latest0.6.0.0

About

Metadata

  • Last updated , by rickowens
  • License MIT
  • Categories FFI, JSON, Web Development
  • Maintained by: rick@owensmurray.com

  • Lottery factor: 1

Links

Installation

Package Flags

Use the -f option with cabal commands to enable flags

    compile-elm (off by default)

    Set this flag to run the Elm compilation tests, which requires Elm to be installed on the system.

Readme

json-spec-elm-servant

Generate Elm encoders, decoders, and API requests for an Servant API, where the shape of the data going over the API is described using json-spec.

See the /test/test.hs and /test/Api.hs for an example.