I have to transfer a quite complex “data transfer object” (DTO) from an Android app via REST to a backend server. I use the Spring framework (Spring boot) which by default encodes the DTO via Jackson. However, the server never recognizes this object as a whole and assignes it or a subset of it to null.