Use kotlinx.serialization instead of Jackson for generated types
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 217
- Forks
- 116
- PR merge metrics
- No merged PRs in 30d
Description
It would be great if we could do something like:
generateJava {
generatedTypesSerializer = "kotlinx.serialization" // Default: "jackson" (use `null` to omit serialization annotations altogether)
}
Assuming we cannot do this right now, is there a recommended way to customize the generator to make it do something like this in our own project?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the generator configuration and the code that applies Jackson serialization to generated types. Compare that path with the requested generatedTypesSerializer option and determine whether project-level customization is currently supported. Done means the generator can select kotlinx.serialization, Jackson, or no serialization annotations as described, with documented customization guidance and coverage for each option.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100