title: how to add data to the repeatable fields in avro schema?
body: <p>I'm trying to test avro serde and deserde without code generation (I completed this task using code generation). Schema is as follows</p>
  
  <pre><code>{
  "type": "record",
  "name" : "person",
  "namespace" : "avro",
  "fields": [
      { "name" : "personname", "type": ["null","string"] },
      { "name" : "personId", "type": ["null","string"] },
      {  "name" : "Addresses", "type": {
          "type": "array",
          "items": [  {
            "type" : "record",
            "name" : "Address",
            "fields" : [
              { "name" : "addressLine1", "type": ["null", "string"] },
              { "name" : "addressLine2", "type": ["null", "string"] },
              { "name" : "city", "type": ["null", "string"] },
              { "name" : "state", "type": ["null", "string"] },
              { "name" : "zipcode", "type": ["null", "string"] }
              ]
          }]
          }
      },
      { "name" : "contact", "type" : ["null", "string"]}
  ]
  }
  </code></pre>
  
  <p>I understand this is how data is added to the schema. </p>
  
  <pre><code>Schema schema = new Schema.Parser().parse(new File("src/person.avsc.txt"));
  GenericRecord person1 = new GenericData.Record(schema);
  person1.put("personname", "goud");
  </code></pre>
  
  <p>But how do I add city, state etc to address and then add it to addresses?</p>
  
  <pre><code>GenericRecord address1 = new GenericData.Record(schema);
  address1.put("city", "SanJose");
  </code></pre>
  
  <p>The above snippet doesn't work. I tried to look into GenericArray, but I couldn't get my head around it. </p>