擅长:python、mysql、java
<p>您正在序列化包含对象的数组;在python端,[]是多余的。删除它们,然后在javascript中,您可以访问result.system、result.startdate和result.datacenter等值</p>
<pre><code>result = {"startdate": Start_date,"datacenter": dc,"system": sys}
print json.dumps(result)
</code></pre>
<p>然后</p>
<pre><code>var response = JSON.parse(data);
console.log("The json startdate is " + response.startdate); //prints undefined
</code></pre>