Join Slack
Powered by
Why is `allowStructuredMapKeys`<https://kotlinlang...
# serialization
e
Erik
10/31/2022, 8:39 AM
Why is `allowStructuredMapKeys`
(docs)
false
by default? Is it because serializing a map to an array is non-standard behaviour? And throwing an exception (if
false
) is standard behaviour?
j
jw
10/31/2022, 3:21 PM
The JSON spec only allows strings as object keys, yes.
7
Views
Open in Slack
Previous
Next