解析json字串 local data = cjson.decode(sampleJson); –列印json字串中的age欄位 print(data[“age”]); –列印陣列中的第一個值(lua預設是從0開始計數)
確定! 回上一頁