3 ms·
You don't need to switch a whole language because of JSON decoding. There are many tools that exist to aid you write JSON decoders in Elm. The language is not j
by enalicho 9y ago
You don't need to switch a whole language because of JSON decoding. There are many tools that exist to aid you write JSON decoders in Elm. The language is not just about the architecture -- you can implement the architecture in any language, as Redux has proven. What people like about Elm is the compiler and design philosophy that radiates through the entire community. Switching to Haskell won't give you that, as the Haskell community has different priorities.
Here are some JSON tools for Elm:
- json-to-elm http://json2elm.com http://json2elm.com
- swagger-elm https://github.com/ahultgren/swagger-elm/ https://github.com/ahultgren/swagger-elm/
- elm-graphql https://github.com/jahewson/elm-graphql https://github.com/jahewson/elm-graphql, https://github.com/jamesmacaulay/elm-graphql https://github.com/jamesmacaulay/elm-graphql
- elm-export https://hackage.haskell.org/package/elm-export https://hackage.haskell.org/package/elm-export
- desireco42 9y agoOh, this is awesome, json2elm really helps :) thanks, didn't know about it.
- enalicho 9y agoNo problem! Glad you found it useful :) It's not perfect by any means, but it's not meant to be.
- desireco42 9y agoYeah right, just to jumpstart the effort, especially when there are a lot of entities.