0
API我有JSON API: 我知道怎麼去記錄值:我能得到的字段名稱從自動功能作出反應本地
是這樣的:json.result.firstname = steve
但我不」知道如何通過自動功能來獲得字段(如果我不知道田名),我想用OUT參數或索引的所有字段
{
success: true,
result: [
{
salutationtype: "Mr.",
firstname: "Steve",
address: "",
contact_no: "CON14",
lastname: "Mart",
mobile: "05-3376147-3",
title: "",
fax: "",
}
]
}
我需要這樣的輸出:
[標籤] salutationtype:先生< < < < < [輸入]
[標籤]姓:史蒂夫< < < < < [輸入]
[標籤]地址:''< < < < < [輸入] ****它爲空
[標號] contact_no:CON14 < < < < < [輸入]
[標號]名字:集市< < < < < [輸入]
[label] mobile:05-3376147-3 < < < < < [input]
[標籤]標題: '' < < < < < [輸入] ****是空
[標籤]傳真: '' < < < < < [輸入] ****是空
等等等等〜