title: Does TOML support nested arrays of objects/tables?
body: <p>I want to generate JSON from TOML files. The JSON structure should be something like this, with arrays of objects within arrays of objects:</p>
  <pre class="lang-json prettyprint-override"><code>{
      &quot;things&quot;: [
          {
              &quot;a&quot;: &quot;thing1&quot;,
              &quot;b&quot;: &quot;fdsa&quot;,
              &quot;multiline&quot;: &quot;Some sample text.&quot;
          },
          {
              &quot;a&quot;: &quot;Something else&quot;,
              &quot;b&quot;: &quot;zxcv&quot;,
              &quot;multiline&quot;: &quot;Multiline string&quot;,
              &quot;objs&quot;: [  // LOOK HERE
                  { &quot;x&quot;: 1},
                  { &quot;x&quot;: 4 },
                  { &quot;x&quot;: 3 }
              ]
          },
          {
              &quot;a&quot;: &quot;3&quot;,
              &quot;b&quot;: &quot;asdf&quot;,
              &quot;multiline&quot;: &quot;thing 3.\nanother line&quot;
          }
      ]
  }
  </code></pre>
  <p>I have some TOML that looks like the example below, but it doesn't seem to work with the <code>objs</code> section.</p>
  <pre class="lang-toml prettyprint-override"><code>name = &quot;A Test of the TOML Parser&quot;
  
  [[things]]
  a = &quot;thing1&quot;
  b = &quot;fdsa&quot;
  multiLine = &quot;&quot;&quot;
  Some sample text.&quot;&quot;&quot;
  
  [[things]]
  a = &quot;Something else&quot;
  b = &quot;zxcv&quot;
  multiLine = &quot;&quot;&quot;
  Multiline string&quot;&quot;&quot;
  [[things.objs]]  # MY QUESTION IS ABOUT THIS PART
  x = 1
  [[things.objs]]
  x = 4
  [[things.objs]]
  x = 3
  
  [[things]]
  a = &quot;3&quot;
  b = &quot;asdf&quot;
  multiLine = &quot;&quot;&quot;
  thing 3.
  another line&quot;&quot;&quot;
  </code></pre>
  <p>Is there a way to do it in TOML? JSON to TOML converters don't seem to work with my example. And does it work with deeper nesting of arrays of arrays/tables?</p>