File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed
src/main/kotlin/tools/jackson/module/kotlin Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -44,17 +44,6 @@ object ULongSerializer : StdSerializer<ULong>(ULong::class.java) {
44
44
}
45
45
}
46
46
47
- @Deprecated(
48
- message = " This class was published by mistake. It will be removed in `2.22.0` as it is no longer used internally." ,
49
- level = DeprecationLevel .WARNING
50
- )
51
- object ValueClassUnboxSerializer : StdSerializer<Any>(Any : :class.java) {
52
- override fun serialize (value : Any , gen : JsonGenerator , ctxt : SerializationContext ) {
53
- val unboxed = value::class .java.getMethod(" unbox-impl" ).invoke(value)
54
- ctxt.writeValue(gen, unboxed)
55
- }
56
- }
57
-
58
47
// Class must be UnboxableValueClass.
59
48
private fun Class <* >.getStaticJsonValueGetter (): Method ? = this .declaredMethods.find { method ->
60
49
Modifier .isStatic(method.modifiers) && method.annotations.any { it is JsonValue && it.value }
You can’t perform that action at this time.
0 commit comments