title: How can I convert a json string to a bean list?
body: <p>I get a JsonString:</p>
  
  <pre><code>{
     "student[0].firstName":"asdf",
     "student[0].lastName":"sfd",
     "student[0].gender":"1",
     "student[0].foods":[
        "Steak",
        "Pizza"
     ],
     "student[0].quote":"Enter your favorite quote!",
     "student[0].education":"Jr.High",
     "student[0].tOfD":"Day",
     "student[1].firstName":"sf",
     "student[1].lastName":"sdf",
     "student[1].gender":"1",
     "student[1].foods":[
        "Pizza",
        "Chicken"
     ],
     "student[1].quote":"Enter your favorite quote!",
     "student[1].education":"Jr.High",
     "student[1].tOfD":"Night"
  }
  </code></pre>
  
  <p>the Student bean:</p>
  
  <pre><code>public class Student {
      private String firstName;
      private String lastName;
      private Integer gender;
      private List&lt;String&gt; foods;
      private String quote;
      private String education;
      private String tOfD;
      getXxx()...;
      setXxx()...;
  }
  </code></pre>
  
  <p>I want to use jackson to convert the JsonString to List。</p>
  
  <p>In fact, I want to post two form content in one form,use ajax.
  And in the SpringMVC handler method, i want get like  List  or Student[] type paramter,then use directly. I hope spring can resolver it , or use other util jar do this.</p>
  
  <pre><code>&lt;form action="" method="post"&gt;
  First Name:&lt;input type="text" name="student[0].firstName" maxlength="12" size="12"/&gt; &lt;br/&gt;
  Last Name:&lt;input type="text" name="student[0].lastName" maxlength="36" size="12"/&gt; &lt;br/&gt;
  Gender:&lt;br/&gt;
  Male:&lt;input type="radio" name="student[0].gender" value="1"/&gt;&lt;br/&gt;
  Female:&lt;input type="radio" name="student[0].gender" value="0"/&gt;&lt;br/&gt;
  Favorite Food:&lt;br/&gt;
  Steak:&lt;input type="checkbox" name="student[0].foods" value="Steak"/&gt;&lt;br/&gt;
  Pizza:&lt;input type="checkbox" name="student[0].foods" value="Pizza"/&gt;&lt;br/&gt;
  Chicken:&lt;input type="checkbox" name="student[0].foods" value="Chicken"/&gt;&lt;br/&gt;
  &lt;textarea wrap="physical" cols="20" name="student[0].quote" rows="5"&gt;Enter your favorite quote!&lt;/textarea&gt;&lt;br/&gt;
  Select a Level of Education:&lt;br/&gt;
  &lt;select name="student[0].education"&gt;
      &lt;option value="Jr.High"&gt;Jr.High&lt;/option&gt;
      &lt;option value="HighSchool"&gt;HighSchool&lt;/option&gt;
      &lt;option value="College"&gt;College&lt;/option&gt;
  &lt;/select&gt;&lt;br/&gt;
  Select your favorite time of day:&lt;br/&gt;
  &lt;select size="3" name="student[0].tOfD"&gt;
      &lt;option value="Morning"&gt;Morning&lt;/option&gt;
      &lt;option value="Day"&gt;Day&lt;/option&gt;
      &lt;option value="Night"&gt;Night&lt;/option&gt;
  &lt;/select&gt;
  
  First Name:&lt;input type="text" name="student[1].firstName" maxlength="12" size="12"/&gt; &lt;br/&gt;
  Last Name:&lt;input type="text" name="student[1].lastName" maxlength="36" size="12"/&gt; &lt;br/&gt;
  Gender:&lt;br/&gt;
  Male:&lt;input type="radio" name="student[1].gender" value="1"/&gt;&lt;br/&gt;
  Female:&lt;input type="radio" name="student[1].gender" value="0"/&gt;&lt;br/&gt;
  Favorite Food:&lt;br/&gt;
  Steak:&lt;input type="checkbox" name="student[1].foods" value="Steak"/&gt;&lt;br/&gt;
  Pizza:&lt;input type="checkbox" name="student[1].foods" value="Pizza"/&gt;&lt;br/&gt;
  Chicken:&lt;input type="checkbox" name="student[1].foods" value="Chicken"/&gt;&lt;br/&gt;
  &lt;textarea wrap="physical" cols="20" name="student[1].quote" rows="5"&gt;Enter your favorite quote!&lt;/textarea&gt;&lt;br/&gt;
  Select a Level of Education:&lt;br/&gt;
  &lt;select name="student[1].education"&gt;
      &lt;option value="Jr.High"&gt;Jr.High&lt;/option&gt;
      &lt;option value="HighSchool"&gt;HighSchool&lt;/option&gt;
      &lt;option value="College"&gt;College&lt;/option&gt;
  &lt;/select&gt;&lt;br/&gt;
  Select your favorite time of day:&lt;br/&gt;
  &lt;select size="3" name="student[1].tOfD"&gt;
      &lt;option value="Morning"&gt;Morning&lt;/option&gt;
      &lt;option value="Day"&gt;Day&lt;/option&gt;
      &lt;option value="Night"&gt;Night&lt;/option&gt;
  &lt;/select&gt;
  
  &lt;p&gt;&lt;input type="submit"/&gt;&lt;/p&gt;
  </code></pre>
  
  <p></p>