FasterXML / FasterXML/jackson-module-kotlin

Jackson doesn't see companion object @JsonCreators unles they also have @JvmStatic

Aperta
#355 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Kotlin
Stelle
1.2k
Fork
187
Merge medio
9h 48m
PR unite (30g)
16

Descrizione

**Describe the bug**
Jackson doesn't see builder methods in a companion object unless they are annotate with `@JvmStatic`.

**To Reproduce**
PR with repro test https://github.com/FasterXML/jackson-module-kotlin/pull/354

**Expected behavior**
Jackson should find `@JsonCreator`-annotated methods on companion objects.

**Versions**
Kotlin:
Jackson-module-kotlin: 2.11.2
Jackson-databind: 2.11.2

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.