title: BeanIo nested list fixedlength marshal and unmarshal
body: <p>I can't figure out why nested object aren't clearly parsed from BeanIo.</p>
  <p>The parsing is based on &quot;fixedlength&quot;, so positional.</p>
  <p>Give these pojos:</p>
  <pre><code>@Record(minOccurs=1) 
  @Data
  public class Address {
    
    @Field(length=2)//,at=1)
    private String prov;
    @Field(length=6)//at=2)
    private String city; 
  }
  </code></pre>
  <p>and</p>
  <pre><code>@Record(minOccurs=1) 
  @Data
  public class Employee { 
      @Field(length=6)//,at=1)
      private String firstName; 
      private List&lt;Address&gt; addresses; 
      @Field(length=6)//at=2)
      private String lastName; 
  }
  </code></pre>
  <p>I've made this class to attempt both input and output operations to clearify the problem:</p>
  <pre><code>public class BeanioTest {
  
      public static void main(String[] args) {
          Employee emp = new Employee();
          emp.setFirstName(&quot;Joe&quot;);
          emp.setLastName(&quot;Black&quot;);
  
          List&lt;Address&gt; addresses = new ArrayList&lt;&gt;();
  
          Address address1 = new Address();
  
          address1.setCity(&quot;PARIS&quot;);
          addresses.add(address1);
  
          Address address2 = new Address();
  
          address2.setCity(&quot;MILAN&quot;);
          addresses.add(address2);
  
          emp.setAddresses(addresses);
          String marshalled = marshaller(  emp);
          System.out.println(marshalled);
  
  
          Employee empUnm = unmarshaller(marshalled);
  
          System.out.println(empUnm.toString());
      } 
  
      public static Employee unmarshaller(String emp) {
          StreamFactory factory = StreamFactory.newInstance();
  
          StreamBuilder builder = new StreamBuilder(&quot;s1&quot;)
                  .format(&quot;fixedlength&quot;) 
                  .addRecord(Employee.class)
                  .addRecord(Address.class);
  
          factory.define(builder);
  
          Unmarshaller unmarshaller = factory.createUnmarshaller(&quot;s1&quot;); 
          Employee unmarshalled = (Employee) unmarshaller.unmarshal(emp); 
          return unmarshalled;     
  
      }
  
      public static String marshaller(Employee emp) {
  
          StreamFactory factory = StreamFactory.newInstance();
  
          StreamBuilder builder = new StreamBuilder(&quot;Tm&quot;)
                  .format(&quot;fixedlength&quot;) 
                  .addRecord(Employee.class)
                  .addRecord(Address.class);
  
          factory.define(builder);
  
          Marshaller marshaller = factory.createMarshaller(&quot;Tm&quot;); 
          String marshalled = marshaller.marshal(emp).toString(); 
          return marshalled;   
  
      }
  }
  </code></pre>
  <p>Bu the input and output won't take care of nested colletion, console output looks like this:</p>
  <pre><code>Joe   Black 
  Employee(firstName=Joe, addresses=null, lastName=Black)
  </code></pre>
  <p>I've tested various attempt but can't figure out. Pls point me in the right direction.</p>