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
{{ message }}
Repository navigation
WebTestClient.ResponseSpec.expectBodyList not working with kotlinx-serialization moduleΒ #36187
Result: This test fails with the following exception:
org.springframework.core.codec.DecodingException: Decoding error: Unexpected JSON token at offset 0: Expected start of the object '{', but had '[' instead at path: $
JSON input: [{"message":"Hello"},{"message":"World"}]
Activity
sdeleuze commentedon Feb 5, 2026
I was indeed able to reproduce with Kotlinx Serialization but not with Jackson.
Support JSON list deserialization in KotlinSerializationStringDecoder
dmitrysulman commentedon Apr 4, 2026
@sdeleuze I opened a PR for this: #36597
sdeleuze commentedon Apr 4, 2026
@dmitrysulman Thanks, closing this issue in favor of the PR.