title: How to represent a List of Maps in JSON
body: <p>I'd like to represent a <code>List&lt;Map&lt;String,List&lt;String&gt;&gt;&gt;</code> using Json.</p>
  
  <p>Example, i'd like to represent:</p>
  
  <ul>
  <li>/bin to *.jar and *.war</li>
  <li>/cfg to *.properties and *.data</li>
  </ul>
  
  <p>Could someone confirm that the following is a correct representation?</p>
  
  <pre><code>{
    "directories": [
      {
        "name": "bin",
        "regex": [
          "*.jar",
          "*.war"
        ]
      },
      {
        "name": "cfg",
        "regex": [
          "*.properties",
          "*.data"
        ]
      }
    ]
  }
  </code></pre>