擅长:python、mysql、java
<p>如果我理解正确,您希望通过键访问dict rs的值。因此,您希望访问dict使用rs[key],例如rs['data']['devices'][0]['model'],以获取列表中第一个设备的设备模型</p>
<pre><code>rs['data'] -> get the data value of rs which is another dict.
rs['data']['devices'] -> get the devices in data which is a list. So you can access its element by index for example 0.
rs['data']['devices'][0] -> get the first device in the devices list
rs['data']['devices'][0]['model'] -> get the value of first device model.
</code></pre>