How would I go and figure out why this is happenin...
# serialization
j
How would I go and figure out why this is happening? I have no clue why it's just giving me an empty object.
j
Default values are not encoded
j
Thanks, got it working now. But this means it got changed in some update? As it was not like this always.
j
It's been like this since 1.0. No idea when it was introduced before then.
seems like in 1.0-rc-2 the behavior was made opt-in rather than opt-in https://github.com/Kotlin/kotlinx.serialization/blob/master/CHANGELOG.md#100-rc2--2020-09-21