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 {
|
||||
ignoreUnknownKeys = true
|
||||
encodeDefaults = true
|
||||
explicitNulls = false
|
||||
isLenient = true
|
||||
allowSpecialFloatingPointValues = true
|
||||
allowStructuredMapKeys = true
|
||||
|
|
Loading…
Reference in a new issue