Spring web service request and response for mapping having list of other objects
问题 I am using Spring web service and in my controller I am using @RequestBody and @ResponseBody. Now from what I understand these annotations do the magic of converting the incoming request to the class object that you specify. However, what if my class object had references to other class objects. Something like: public class Question { private String questionText; List<Options> options; public String getQuestionText() { return questionText; } public void setQuestionText(String questionText) {