The web version linked to here, which is just in Elm
The CLI version in the repo, which is in Python
I started out with the Python version in order to function as a way of generating decoders from source code. It can go through all the files you have and generate what you need.
I found that the web version is more popular, however, since the majority of the Javascript community seem to have trouble running Python scripts.
Author here. I’m currently working on upgrading this for the 0.18 release, so it will likely have a new version up in the coming days.
Great idea. Source seems to be here: https://github.com/eeue56/json-to-elm
I think the python files are to create a wrapper around the elm code to make a CLI utility.
There are two things at play here:
I started out with the Python version in order to function as a way of generating decoders from source code. It can go through all the files you have and generate what you need.
I found that the web version is more popular, however, since the majority of the Javascript community seem to have trouble running Python scripts.