We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78bc28d commit a5fc5c1Copy full SHA for a5fc5c1
services/src/main/kotlin/spp/probe/services/common/serialize/CappedTypeAdapterFactory.kt
@@ -73,6 +73,8 @@ class CappedTypeAdapterFactory(val maxDepth: Int) : TypeAdapterFactory {
73
jsonWriter.value(objSize.toString())
74
jsonWriter.name("@cause")
75
jsonWriter.value(e.message)
76
+ jsonWriter.name("@id")
77
+ jsonWriter.value(Integer.toHexString(System.identityHashCode(value)))
78
jsonWriter.endObject()
79
}
80
JsogRegistry.get().userData["depth"] = (JsogRegistry.get().userData["depth"] as Int) - 1
0 commit comments