-
Notifications
You must be signed in to change notification settings - Fork 3
Description
I'm tackling my first pet Elm project in the open and have run into the need to read data provided in JSON format. Lucky for me the specific JSON format has an associated JSON Schema defined so I was hoping to be able to generate the corresponding Elm Decoders based on the JSON Schema but unfortunately I haven't found a specific general purpose tool or Elm package for doing so. If this package is not yet available it may provide for a good project for those complete Elm beginners like myself to both learn about JSON Decoders and perhaps give back to the Elm community by creating an Elm package that could simplify working with JSON data.
I probably won't be able to lead such an endeavor myself just yet as I'm only just learning Elm in my limited spare time but I would be happy to help out and contribute to anybody that would be interested in taking it on. Alternatively if I make progress on this front I would be happy to share in the form of a presentation if there is interest.
Related resources:
- compile json schema to elm? NoRedInk/json-elm-schema#11 - Compile JSON schema to Elm
- dragonwasrobot/json-schema-to-elm - Elm Type generator written in Elixir
- 1602/elm-json-schema JSON Schema based html form builder, validator, and decoder
- https://github.com/eeue56/json-to-elm - Convert example JSON to Elm types and Decoders
- Create json decoder based on resume-json jsonschema jpierson/x-elm-resume#4 Tracking issue in my pet project