title: Is there an array-depth limitation in JSON?
body: <p>With <em>array-depth</em>, I don't mean number of elements in an array but this construct here:</p>
  
  <pre><code>[[[[[[[[[[[[[[[[[[[["Too deep"]]]]]]]]]]]]]]]]]]]]
  </code></pre>
  
  <p>I stumbled across this in the <a href="http://json.org/JSON_checker/test.zip" rel="nofollow noreferrer">test suite</a> for the <a href="http://json.org/JSON_checker/" rel="nofollow noreferrer"><code>JSON_checker</code></a>.</p>
  
  <p>The script <code>pass2.json</code> has this (19 opening brackets):</p>
  
  <pre><code>[[[[[[[[[[[[[[[[[[["Not too deep"]]]]]]]]]]]]]]]]]]]
  </code></pre>
  
  <p>As the name of the test script implies, this is expected to pass.</p>
  
  <p>The other one is from <code>fail18.json</code> and is expected to fail. It has 20 opening brackets. However, <a href="http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf" rel="nofollow noreferrer">ECMA-404</a> has not <strong>that</strong> much to say about Arrays:</p>
  
  <blockquote>
    <p>An array structure is a pair of square bracket tokens surrounding zero or more values. The values are
    separated by commas. The order of the values is significant.</p>
  </blockquote>
  
  <p>Is there a limit that I missed or is the test script wrong?</p>