Join Slack
Hi there. Docs for <default JSON serialization> say that “mode is not strict so extra json fields ar...
# ktor
j
Jakub Gwóźdź
05/26/2022, 10:29 AM
Hi there. Docs for
default JSON serialization
say that “mode is not strict so extra json fields are ignored” but in fact deserialization fails on such unknown fields (ignoreUnknownKeys is set to false). Is this by default or a bug?
a
Aleksei Tirman [JB]
05/26/2022, 5:54 PM
The documentation is wrong.
j
Jakub Gwóźdź
05/26/2022, 5:54 PM
Thanks!
a
Aleksei Tirman [JB]
05/26/2022, 5:55 PM
https://github.com/ktorio/ktor/pull/3021
j
Jakub Gwóźdź
05/26/2022, 5:56 PM
Oh, just two days ago? Dat coincidence 🙂
2
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by