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.
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 forElm Data.Aeson.Value
.