alexkorban/elm-review-json-to-elm - version: 1.0.1

for more information visit the package's GitHub page

Package contains the following modules:

elm-review-json-to-elm

Provides an elm-review rule to generate JSON decoders and encoders from a JSON sample in a Debug.todo string.

Provided rules

Configuration

module ReviewConfig exposing (config)

import JsonToElm
import Review.Rule exposing (Rule)

config : List Rule
config =
    [ JsonToElm.rule
    ]

Try it out

You can try the example configuration above out by running the following command:

elm-review --template alexkorban/elm-review-json-to-elm/example