I have this ugly feeling I've seen this before, bu...
# jackson-kotlin
m
I have this ugly feeling I've seen this before, but I don't remember the solution: when I have a constructor like this:
Copy code
class Test(val id: String, val attributes: List<String> = emptyList())
and deserialize a blob with a missing
attributes
field, why do I get a missing field exception? Wouldn't the plugin be able to grab the
emptyList()
as default?