Skip to content

Commit 765d462

Browse files
att55sandwwraith
authored andcommitted
fix typo (serialise -> serialize)
1 parent d5bc32d commit 765d462

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

formats/json/jsMain/src/kotlinx/serialization/json/internal/DynamicEncoders.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ private class DynamicPrimitiveEncoder(
257257
if (!json.configuration.isLenient && abs(value) > MAX_SAFE_INTEGER) {
258258
throw IllegalArgumentException(
259259
"$value can't be deserialized to number due to a potential precision loss. " +
260-
"Use the JsonConfiguration option isLenient to serialise anyway"
260+
"Use the JsonConfiguration option isLenient to serialize anyway"
261261
)
262262
}
263263
encodeValue(asDouble)

0 commit comments

Comments
 (0)