title: jersey consume two dimensional array
body: <p>I am developing REST webservices using jersey.</p>
  
  <p>I am submitting the data in following format:</p>
  
  <pre><code>var data = new Array();
  data.push({ name: 'field1', value: "123" });
  data.push({ name: "field2", value: "XYZ" });
  </code></pre>
  
  <p>Now I want to send additional data in following format:</p>
  
  <pre><code>    var products = new Array();
      products.push({ name: 'product1', value: "5" });
      products.push({ name: 'product2', value: "8" });
      products.push({ name: 'product3', value: "12" });
  
      data.push({ name: "products", value: products });
  </code></pre>
  
  <p>Jersey webservice code:</p>
  
  <pre><code>@Path("/myRequestPath")
  @POST
  @Produces({ MediaType.APPLICATION_JSON })
  public MetaDataStatus processChangeRequest(
      @FormParam("field1") String field1,
      @FormParam("field2") String field2,
            //how to read products here?
      )
  {
  }
  </code></pre>
  
  <p>My question in that how to consume above <code>products</code> data in jersey web service?</p>