Sorry John, that's not parsing for me. What is the "this" you refer to? Literal JSON strings, the problem I'm encountering, or something else?
JSONP looks like an option based on its Wiki page, but I'm afraid it's not really my forte.
Evan, I can try hosting locally and see if that gets me unblocked. Oh look, elm-server hosts non-elm files too. Yup, that seems to work.
It's not the JSON library, it's the HTTP library. From the non-technical end-user perspective, it's not working, and should be fixed. Timeframe isn't immediate.
In the course of the project this ties into I've thought about what sort of JSON functions would be nice to have, but haven't come up with anything definitive. Hazy ideas include a way to recursively turn JsonValues into native types and Json.Object to record conversion. I did find myself writing these helper functions, though I can't promise they're API worthy:
numJSON k d = findWithDefault (Json.Number 0 ) k d |> (\(Json.Number n)->n)
strJSON k d = findWithDefault (Json.String []) k d |> (\(Json.String s)->s)
Part of the problem is that I know the field will be present, but the compiler doesn't, so instead of percolating a Maybe upwards (basically reinventing exceptions but worse) I give it a default that should never be used.