FasterXML / FasterXML/jackson-module-kotlin
Jackson doesn't see companion object @JsonCreators unles they also have @JvmStatic
Offen
bug
- Vorherrschende Sprache
- Kotlin
- Sterne
- 1.2k
- Forks
- 187
- Ø Merge
- 9 Std. 48 Min.
- Gemergte PRs (30 T.)
- 16
Beschreibung
**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
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.