Is there a way to ignore null values when stringify? Currently it renders as:
"field":null
it would be great if there is a way that null fields are not rendered at all - but I did not find such an option. Anyone knows how this can work?
Is there a way to ignore null values when stringify? Currently it renders as:
"field":null
it would be great if there is a way that null fields are not rendered at all - but I did not find such an option. Anyone knows how this can work?
Currently it's not possible, but you may want to keep track of this issue: https://github.com/Kotlin/kotlinx.serialization/issues/58