I’m trying to decode a string containing an escaped double quote, e.g. “I said, “Hello””
Now to do that in Elm, I may use Json.Decode as Decode:
Decode.decodeString Decode.string "\"I said, \"Hello\"\""
However, this is causing the decoder to fail. Can anyone explain why? I’d like to know how to have double quotes in my JSON string.