Аргументы
table
обязательно
Table для inspect. Function требует, чтобы этот argument был table.
Возвраты
table
New array table с source table keys, кроме Real JSON type marker. Order следует table iteration iteration и не sorted этой function.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Возвращает visible keys из table в new table marked as a JSON array.
json.keys(object: table): table
local record = {
name = "Real",
enabled = true,
[5] = "numeric key",
}
for _, key in ipairs(json.keys(record)) do
print(key)
end