Don’t know if this is the right channel to ask (apologies if not the case). Jackson annotation on an interface (to tell Jackson what implementation class to use during deserialization) cannot be used because the word “as” is a keyword in Kotlin and Jackson is using that keyword to specify the implementation class: