Exclude null values from json encoding
This commit is contained in:
parent
c3df8a252e
commit
3d7a4d9772
1 changed files with 1 additions and 0 deletions
|
@ -100,6 +100,7 @@ fun Application.moduleWithDependencies(
|
||||||
json(json = Json {
|
json(json = Json {
|
||||||
ignoreUnknownKeys = true
|
ignoreUnknownKeys = true
|
||||||
encodeDefaults = true
|
encodeDefaults = true
|
||||||
|
explicitNulls = false
|
||||||
isLenient = true
|
isLenient = true
|
||||||
allowSpecialFloatingPointValues = true
|
allowSpecialFloatingPointValues = true
|
||||||
allowStructuredMapKeys = true
|
allowStructuredMapKeys = true
|
||||||
|
|
Loading…
Reference in a new issue