擅长:python、mysql、java
<p>您不仅需要解析输入,还需要收集<code>IncidentID</code></p>
<pre><code>import json
content = #your json file content as a string
data = json.loads(content)
ids = []
for incident in data['content']:
ids.push(incident['Incident']['IncidentID'])
print(ids)
</code></pre>