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

Lightweight and high-performance jackson-module-kotlin

Results 8 jackson-module-kogera issues
Sort by recently updated
recently updated
newest added

When a value class object is serialized the unterlying type is used. If the value class implments an interface, array polymorphism is used to store the type. However the type...

Additional features to solve https://github.com/FasterXML/jackson-module-kotlin/issues/777 .

The `ValueClassDeserializer::getBoxedNullValue` is called only from the `KotlinValueInstantiator`. This causes deserialization to fail as per the subject. ```kotlin @JvmInline value class NullableObject(val v: String?) val result = mapper.readValue("null") ``` This...

value class

The problem occurs when deserializing the following `D` with default arguments. ```kotlin @JvmInline value class NullableObject(val v: String?) data class D(val v: NullableObject = NullableObject("")) ``` The cause is that...

value class

It can be reproduced by defining `bar` as follows ```kotlin @JvmInline value class VC(val value: Int) interface I { val foo: T val bar: T get() = foo } class...

value class

This is a shortcoming in `jackson-module-kotlin` that I hoped could be fixed by this project. Consider the mapper ```kotlin val mapper = ObjectMapper() .registerKotlinModule() .setSerializationInclusion(JsonInclude.Include.NON_DEFAULT) ``` and the class ```kotlin...

- If the unboxed value is `null` (the `value` of the `value class` is `nullable` and the property is `non-null`). - It is difficult to resolve this case, see https://github.com/FasterXML/jackson-databind/issues/3744

value class