擅长:python、mysql、java
<p>您应该首先将一个数字作为索引来访问第一个列表。json数据的结构是一个列表,然后是字典,然后是列表,最后是顶点字典。您的查询应该是</p>
<pre><code>H[0]["rects"][0] # the fist rectangle dictionary
</code></pre>
<p>以及</p>
<pre><code>H[1]["rects"][0] # the second rectangle dictionary
</code></pre>