A couple of functions to ease versioning of your JSON representations.
See the README for the examples directory for details.
Convert a value to a versioned Json string
Decode a string saved by encodeVersionedJson with the relavant converter function
from a dictionary you provide.
If the string is not as encoded by encodeVersionedJson, use the converter function
for version 0.
An Elm Dict mapping version numbers to decoder functions