어떻게 파싱합니까? 나는 WordPress와 Jquery로 일하고있다. Jquery를 사용하여 JSON을 구문 분석하십시오.
{
"MyCustomOutput": [
{
"id": "2",
"name": "This is the name of the custom output",
"version": "1.00",
"description": "This is the Description",
"changelog": "This is the change log history....",
"updated": "1261274072"
}
]
}
내가 좋아하는 뭔가를 시도 :
var d = JSON.parse(data);
$("#version").html(data);
$("#version").html(d.MyCustomOutput.version);
을하지만 나는 더 내가 jQuery로 뭘하는지 생각 ... 또는 자바 스크립트가 없다 : P