https://kotlinlang.org logo
w

wesbillman

02/13/2017, 8:01 PM
@apatrida just to follow up here. I was working with JSON that deals with enums based on values rather than names. So I ended up having to do some custom stuff on each enum to make it work. Perhaps this is expected, or there is a better solution, but here's what I came up with: