FasterXML / FasterXML/jackson-module-kotlin
Jackson doesn't see companion object @JsonCreators unles they also have @JvmStatic
Open
bug
- Dominant language
- Kotlin
- Stars
- 1.2k
- Forks
- 187
- Avg merge
- 9h 48m
- Merged PRs (30d)
- 16
Description
**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
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.