In the first example, technically, you could pass ...
# jackson-kotlin
w
In the first example, technically, you could pass null in JSON, and Jackosn will allow that, but it will fail while constructing the object (because Kotlin).