json 入門--例子

var jsonObj = {
"id":"123",
"name":"李四",
"status":true
};
var jsonObj_1 = {
"id":"123",
"name":"李四",
"status":true,
"address":{
"city":"Beijing",
"street":" Chaoyang Road ",
"postcode":100025
}
};
var jsonArray = [
{
"id":"1",
"name":"張三",
"status":true
},{
"id":"2",
"name":"李四",
"status":true
},{
"id":"3",
"name":"王五",
"status":true
}
]
發佈了103 篇原創文章 · 獲贊 1 · 訪問量 10萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章