title: spring controller json receive json List
body: <p>I do post below json contain</p>
  
  <pre><code>{"testListObject":[{"testText":"bbb","testDate":"02.01.2011 00:00:00.000"},{"testText":"aaa","testDate":"01.01.2011 00:00:00.000"}]}
  </code></pre>
  
  <p>in my spring controller i have</p>
  
  <pre><code>@RequestMapping(value = "/post/tester/", method = RequestMethod.POST)
   public @ResponseBody String postItinerary(@ModelAttribute("testListObject") TestList testList) throws IOException {
  
  
      System.out.println("1="+testList); //ok
      System.out.println("2="+testList.childListObject); //print null
  }
  </code></pre>
  
  <p>Any idea why i getting null for List childListObject ?</p>
  
  <p>my pojo look like below</p>
  
  <pre><code>    public class TestList (){
  
      public List&lt;ChildObject&gt; childListObject;
  
  //get and set
      }
  
  
      public class ChildObject(){
  
      public String testText;
      public String testDate;
  //get and set    
  }
  </code></pre>