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) {
4444 }
4545}
4646
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-
5847// Class must be UnboxableValueClass.
5948private fun Class <* >.getStaticJsonValueGetter (): Method ? = this .declaredMethods.find { method ->
6049 Modifier .isStatic(method.modifiers) && method.annotations.any { it is JsonValue && it.value }
You can’t perform that action at this time.
0 commit comments