Holmusk / elm-street

:deciduous_tree: Crossing the road between Haskell and Elm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Define instance for of `Elm` for Data.Aeson.Value

turboMaCk opened this issue · comments

In some cases users might want/need to work with raw json values on client side. Example use case might be loading some data in elm and passing them to the external js like some webcomponent. In these cases it would make sense to work with Value type on both side (in haskell with Data.Aeson.Value; in elm with Json.Decode.Value). for this we should provide the instance for Elm Data.Aeson.Value.

Implemented in #114 thanks @jhrcek