title: Using a custom JSON format for jqGrid
body: <p>I have a JSON file that must be formatted as follows. How can I have jqGrid interpret this format using the <code>jsonmap</code>, <code>colModel</code>, or <code>jsonReader</code> options?</p>
  
  <pre><code>[
    {
      "element1" : {
        "subElement1" : "value",
        "subElement2" : "value"
      }
      "element2" : {
        "subElement3" : "value",
        "subElement4" : "value"
      }
    }, 
  
    {
      "element1" : {
        "subElement1" : "value",
        "subElement2" : "value"
      }
      "element2" : {
        "subElement3" : "value",
        "subElement4" : "value"
      },
  
      // . . . etc. . . .
    }
  ]
  </code></pre>
  
  <p><code>colNames</code> will be <code>["subElement1", "subElement2", "subElement3", "subElement4"]</code>.</p>
  
  <p>Thanks a lot for any help.</p>