elm-community / elm-community/json-extra
dict2 fails when trying to decode string keys
Open
- Dominant language
- Elm
- Stars
- 40
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
This example
import Json.Decode exposing (..)
""" { "hello": "world", "foo": "bar" } """
|> decodeString (dict2 string string)
gives following error:
Problem with the given value: "hello"
This is not valid JSON!
JSON.parse: unexpected character at line 1 column 1 of the JSON data
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.