<@U0C0MTV9V> one first note, can you import: ``` ...
# jackson-kotlin
a
@gmaciel one first note, can you import:
Copy code
import com.fasterxml.jackson.module.kotlin.*
then change your readValue to:
Copy code
val info: UserInfo = jsonMapper.readValue(info)
or:
Copy code
val info = jsonMapper.readValue<UserInfo>(info)
this will help you out later when you have more complex generics so you don't hit type erasure.