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 9dbe9c6 commit 1671eddCopy full SHA for 1671edd
client/src/commonMain/kotlin/com/algolia/search/serialize/internal/Json.kt
@@ -24,8 +24,11 @@ import kotlinx.serialization.json.jsonObject
24
25
internal val Json = Json {
26
encodeDefaults = true
27
+ ignoreUnknownKeys = true
28
+}
29
+internal val JsonNoDefaults = Json {
30
31
}
-internal val JsonNoDefaults = Json.Default
32
internal val JsonNonStrict = Json {
33
ignoreUnknownKeys = true
34
isLenient = true
0 commit comments