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

We're trying to use `@JsonManagedReference` but so far the `@JsonBackReference` is null when we deserialize. We tried the approach from #129 . But actually this test doesn't check that the...

**Describe the bug** I have a csv with empty cells. I generally want those to be parsed as null. However, I want to also have the ability to parse these...

bug

So: looks like there is a minor regression in `master` (for 3.0.0-SNAPSHOT), regarding fix (and one of tests) for #22. I will refactor test to have failing case for this...

3.x

**Describe the bug** Kotlin array iterators are serialized as beans, unlike Java iterators which as serialized as arrays, using the IteratorSerializer. **To Reproduce** main.kt ``` import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper val kotlinArray =...

bug

**Is your feature request related to a problem? Please describe.** With Spring REST, I want to have this XML: ... For that, I hoped I could use some very simple...

I use: ``` kotlin: 1.4.10 com.fasterxml.jackson.core:jackson-annotations:2.10.1 com.fasterxml.jackson.core:jackson-databind:2.10.1 com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.10.1 (spring-boot: 2.4.0) ``` I try to deserialize a map which has keys which should be an `enum` type (`LuggageType`). When writing a...

question

We're doing some things in [KotlinNamesAnnotationIntrospector](https://github.com/FasterXML/jackson-module-kotlin/blob/2.12/src/main/kotlin/com/fasterxml/jackson/module/kotlin/KotlinNamesAnnotationIntrospector.kt) that would be better handled in the recently-introduced [AccessorNamingStrategy](https://github.com/FasterXML/jackson-databind/blob/2.12/src/main/java/com/fasterxml/jackson/databind/introspect/AccessorNamingStrategy.java) as [described in #356](https://github.com/FasterXML/jackson-module-kotlin/pull/383#issuecomment-708627043).

enhancement

**Describe the bug** @JsonCreator does not seem to always work for Kotlin classes **To Reproduce** import com.fasterxml.jackson.annotation.JsonAutoDetect import com.fasterxml.jackson.annotation.JsonCreator import com.fasterxml.jackson.annotation.JsonProperty import com.fasterxml.jackson.databind.ObjectMapper import com.fasterxml.jackson.module.kotlin.registerKotlinModule open class BaseClass(val a :...

bug

```kotlin import com.fasterxml.jackson.annotation.JsonSubTypes import com.fasterxml.jackson.annotation.JsonTypeInfo import com.fasterxml.jackson.databind.annotation.NoClass import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper import com.fasterxml.jackson.module.kotlin.readValue sealed class Entity data class Bacteria(val speciesName: String): Entity() data class Disease(val diseaseId: Long): Entity() enum class EntityType {...

**Describe the bug** Deserialization of lists is lost under certain conditions. When I change the terminal nodes to have fake key names, the full structure is returned with those terminal...

bug