JSON
json.values
返回 table 的 direct values,放入一个 marked as JSON array 的新 table。JSON type marker entries 会被跳过。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
返回 table 的 direct values,放入一个 marked as JSON array 的新 table。JSON type marker entries 会被跳过。
json.values(object: table): table
local list = json.array({ "one", "two" })
for _, value in ipairs(json.values(list)) do
print(value)
end