You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like the JsonLexer hits the end of input string, thus consumeNextToken() returns TC_EOF. After that, the while loop inside skipElement() keeps spinning forever.
The text was updated successfully, but these errors were encountered:
Duplicating from https://youtrack.jetbrains.com/issue/KT-46611
Using Kotlin 1.5.0 with org.jetbrains.kotlinx:kotlinx-serialization-json:1.2.0 (latest)
Given:
.. this expression never terminates (with an exception) as it should, because the input is not valid JSON:
Looks like the JsonLexer hits the end of input string, thus consumeNextToken() returns TC_EOF. After that, the while loop inside skipElement() keeps spinning forever.
The text was updated successfully, but these errors were encountered: