Đạt Vũ
when don't i have another way? i think i must do that
i've written smth like that a long ago, and i didn't find a better way than recursion. i think it is ok, if your object isn't too big to cause stackoverflow)
btw, i advise you to include some mark-interface for your pojos, so that it's easier for you to detect nested objects