> ## Documentation Index
> Fetch the complete documentation index at: https://docs.projectreal.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# json.keys

> Table의 visible keys를 new table marked as a JSON array로 반환합니다.

<div className="real-function-page">
  ```lua theme={null}
  json.keys(object: table): table
  ```

  ## 인수

  <ParamField path={"object"} type={"table"} required>
    Inspect할 table입니다. function은 이 argument가 table이어야 합니다.
  </ParamField>

  ## 반환값

  <ResponseField name={"keys"} type={"table"}>
    Source table keys를 포함하는 new array table입니다. Real JSON type marker는 제외됩니다. Order는 table iteration iteration을 따르며 이 function에서 sorted되지 않습니다.
  </ResponseField>

  ## 예제

  Table의 visible keys를 new JSON array table로 collect합니다.

  ```lua theme={null}
  local record = {
      name = "Real",
      enabled = true,
      [5] = "numeric key",
  }

  for _, key in ipairs(json.keys(record)) do
      print(key)
  end
  ```
</div>
