You could have designed the Json.Decode library!
Why does elm's Json.Decode library have to be so, well, weird? In this article we build a JSON decoder library motivated by a concrete example that leads naturally to the Json.Decode library
Tags: elm, json, decoders