I\'d like to serialise null for only one property in my JSON body that is going on a PUT. I don\'t want to serialize null for any other types in the object. Model class is l
Try approach from my gist:
https://gist.github.com/OleksandrKucherenko/ffb2126d37778b88fca3774f1666ce66
In my case I convert NULL from JSON into default double/integer value. You can easily modify the approach and make it work for your specific case.
p.s. its JAVA, convert it to Kotlin first.