Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
empath75
· 10y ago · 0 comments
Is parsing json still an ugly mess? That was what put me off actually using it for anything.
Comments
[–]
ccapndave
10y ago
Its a little wordy, but now that I'm used to it, it takes no time to write decoders/encoders. There is also a tool to automatically generate them from JSON input at
http://noredink.github.io/json-to-elm/
[–]
aarpmcgee
10y ago
didn't know about this! thanks!
[–]
jmite
10y ago
Under "other cool stuff" it's mentioned that error reporting when parsing fails is greatly improved. Not sure if that's what you meant.