I have something like this:
request.getData().getPerson().getAddress().getZipcode()
I am looking for efficient way to do the null check but don't want to add many if's . I have similar thing in many places and looking for the best way to address this.
Thanks in advance.