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 0ec900b commit 24c6028Copy full SHA for 24c6028
formats/json/commonMain/src/kotlinx/serialization/json/JsonElement.kt
@@ -90,6 +90,7 @@ public fun JsonPrimitive(value: UInt): JsonPrimitive = JsonPrimitive(value.toULo
90
*
91
* The value will be encoded as a JSON number.
92
*/
93
+@SuppressAnimalSniffer // Long.toUnsignedString(long)
94
@ExperimentalSerializationApi
95
public fun JsonPrimitive(value: ULong): JsonPrimitive = JsonUnquotedLiteral(value.toString())
96
0 commit comments