
Security News
Software Engineering Daily Podcast: Feross on AI, Open Source, and Supply Chain Risk
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.
jsoncodegen-generator-kotlin-jackson
Advanced tools
jsoncodegen JSON to Kotlin code generator for Jackson.
jsoncodegen JSON to Kotlin code generator for Jackson.
Generates Kotlin data classes from jsoncodegen interfaces. They can be instantiated like this:
val myObject = MyObject(
name = "Budapest",
flag = true,
count = 3.0
)
Number is mapped to Double.
Enums are mapped to Kotlin enums, arrays to Lists, maps will become Maps.
npm i -D jsoncodegen-generator-kotlin-jackson
Remember to use com.fasterxml.jackson.module.kotlin.jacksonObjectMapper rather than the regular ObjectMapper.
Configuration can be put in jsoncodegen-generator-kotlin-jackson.config.js and passed to jsoncodegen in the config parameter:
jsoncodegen --generator java-jackson --config jsoncodegen-generator-kotlin-jackson.config.js ...
jsoncodegen-generator-kotlin-jackson.config.js
module.exports = {
package: 'com.example'
}
package?: stringThe name of the target package. All generated classes will be in this package. Example: "com.example"
MIT
1.0.0 Initial version.
FAQs
jsoncodegen JSON to Kotlin code generator for Jackson.
The npm package jsoncodegen-generator-kotlin-jackson receives a total of 1 weekly downloads. As such, jsoncodegen-generator-kotlin-jackson popularity was classified as not popular.
We found that jsoncodegen-generator-kotlin-jackson demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.

Security News
GitHub has revoked npm classic tokens for publishing; maintainers must migrate, but OpenJS warns OIDC trusted publishing still has risky gaps for critical projects.

Security News
Rust’s crates.io team is advancing an RFC to add a Security tab that surfaces RustSec vulnerability and unsoundness advisories directly on crate pages.