Final version of JSON to sum type

After some feedback on my previous post I ended up with the following implementation.

Thanks David for your suggestions.

Leave a comment