File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
src/main/kotlin/com/fasterxml/jackson/module/kotlin Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -48,15 +48,6 @@ object ULongSerializer : StdSerializer<ULong>(ULong::class.java) {
48
48
}
49
49
}
50
50
51
- internal object ValueClassUnboxSerializer : StdSerializer<Any>(Any : :class.java) {
52
- private fun readResolve (): Any = ValueClassUnboxSerializer
53
-
54
- override fun serialize (value : Any , gen : JsonGenerator , provider : SerializerProvider ) {
55
- val unboxed = value::class .java.getMethod(" unbox-impl" ).invoke(value)
56
- provider.defaultSerializeValue(unboxed, gen)
57
- }
58
- }
59
-
60
51
// Class must be UnboxableValueClass.
61
52
private fun Class <* >.getStaticJsonValueGetter (): Method ? = this .declaredMethods.find { method ->
62
53
Modifier .isStatic(method.modifiers) && method.annotations.any { it is JsonValue && it.value }
You can’t perform that action at this time.
0 commit comments