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