jackson-module-kotlin icon indicating copy to clipboard operation
jackson-module-kotlin copied to clipboard

Module that adds support for serialization/deserialization of Kotlin (http://kotlinlang.org) classes and data classes.

Results 175 jackson-module-kotlin issues
Sort by recently updated
recently updated
newest added

It would be nice to have support for stringly-typed values, such as `@JvmInline value class SKU(val value: String)`. Writing custom map key deserializers for every custom Kotlin value type that...

enhancement

**Describe the bug** When calling the objectMapper's writeValueAsString and passing a Kotlin data class to the function, any of the variables that begin with "is" such as "isDayTime" and that...

bug

**Describe the bug** Controlling the serialized field name with `@JsonProperty` doesn't appear to be working for fields in a superclass. **To Reproduce** ``` open class Parent(@JsonProperty("parent-prop") val parent: String) class...

bug
2.12
2.13

**Your question** We would like to make use of kotlins 'inheritance by delegation' feature. In the json-structure the object should be flat, i.e. not exposing the delegation. Suppressing the delegation...

question

**Describe the bug** Custom methods cannot be used for map types and generics **To Reproduce** Test case or steps to reproduce the behavior or. ![image](https://user-images.githubusercontent.com/17372409/112779830-253b8680-907a-11eb-9572-bc882e96f14e.png) ![image](https://user-images.githubusercontent.com/17372409/112779843-2c629480-907a-11eb-869b-6f01b8df297b.png) ![image](https://user-images.githubusercontent.com/17372409/112779877-3daba100-907a-11eb-9fc9-000894bb825c.png) ![image](https://user-images.githubusercontent.com/17372409/112779891-4603dc00-907a-11eb-8735-1b44abe740e4.png) long to...

bug

Kotlin 1.3 has experimental [inline classes](https://kotlinlang.org/docs/reference/inline-classes.html). When wrapping a primitive type, an inline class instance is just compiled to the primitive type, making the code very efficient, whie still keeping...

I would like to ask how to properly configure an ObjectMapper to make it capable of deserializing data classes with kotlin-specific integer fields. Out of the box it works e.g....

question

**Describe the bug** This bug is an offspring of https://github.com/spring-projects/spring-kafka/issues/2306 As described there spring-kafka tries to serialize exceptions, which fails with ``` java.lang.RuntimeException: Could not deserialize type java.io.NotSerializableException with message...

bug

**Describe the bug** The issue that I am facing similar to [Issue 194](https://github.com/FasterXML/jackson-module-kotlin/issues/194) but extended. When I try to use the similar setup but json value would not have id...

bug

Hello, I am using a custom `TypeResolverBuilder` to enable custom polymorphic deserialization for classes to which I can't add Jackson annotations. Here's a sample piece of (Kotlin) code, followed by...

question