DI in Kotlin

Two ways to inject class

class ArticleDeserializer @Inject constructor(): JsonDeserializer<Article> {
}

class ArticleDeserializer: JsonDeserializer<Article> {
    @Inject
    constructor()
}