title: JSON Structure for List of Objects
body: <p>I would like to know, whats the right structure for a list of objects in JSON.</p>
  
  <p>We are using JAXB to convert the POJO's to JSON.</p>
  
  <p>Here is the choices, Please direct me what is right.</p>
  
  <pre><code>foos: [
               foo:{..},
               foo:{..}
        ]
  </code></pre>
  
  <p>or </p>
  
  <pre><code>   foos : [
             {...},
             {...}
            ]
  </code></pre>
  
  <p>If the first structure is right, what is the JAXB annotation I should use to get the structure right.</p>