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 d5bc32d commit 765d462Copy full SHA for 765d462
formats/json/jsMain/src/kotlinx/serialization/json/internal/DynamicEncoders.kt
@@ -257,7 +257,7 @@ private class DynamicPrimitiveEncoder(
257
if (!json.configuration.isLenient && abs(value) > MAX_SAFE_INTEGER) {
258
throw IllegalArgumentException(
259
"$value can't be deserialized to number due to a potential precision loss. " +
260
- "Use the JsonConfiguration option isLenient to serialise anyway"
+ "Use the JsonConfiguration option isLenient to serialize anyway"
261
)
262
}
263
encodeValue(asDouble)
0 commit comments