Exclude null values from json encoding

This commit is contained in:
William Brawner 2022-05-28 20:33:53 -06:00
parent c3df8a252e
commit 3d7a4d9772

View file

@ -100,6 +100,7 @@ fun Application.moduleWithDependencies(
json(json = Json {
ignoreUnknownKeys = true
encodeDefaults = true
explicitNulls = false
isLenient = true
allowSpecialFloatingPointValues = true
allowStructuredMapKeys = true