Skip to content

Commit

Permalink
Suppressed Animal Sniffer error on ULong.toString()
Browse files Browse the repository at this point in the history
  • Loading branch information
shanshin committed Mar 6, 2023
1 parent 0ec900b commit 24c6028
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ public fun JsonPrimitive(value: UInt): JsonPrimitive = JsonPrimitive(value.toULo
*
* The value will be encoded as a JSON number.
*/
@SuppressAnimalSniffer // Long.toUnsignedString(long)
@ExperimentalSerializationApi
public fun JsonPrimitive(value: ULong): JsonPrimitive = JsonUnquotedLiteral(value.toString())

Expand Down

0 comments on commit 24c6028

Please sign in to comment.