Don’t know if this is the right channel to ask (ap...
# getting-started
s
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:
y
use backticks:
Copy code
@JsonDeserialize(`as` = MyInterfaceImpl.class)
s
Thank you Youssef