> ## 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.values

> table의 direct values를 JSON array로 marked된 새 table로 반환합니다. JSON type marker entries는 건너뜁니다.

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

  ## 인수

  <ParamField path={"object"} type={"table"} required>
    enumerate할 table입니다. function은 이 argument를 type checking으로 검사합니다.
  </ParamField>

  ## 반환값

  <ResponseField name={"values"} type={"table"}>
    input table의 direct values를 포함하는 new array-style table입니다. output은 JSON array로 marked됩니다. Enumeration은 table iteration를 사용하므로 function에서 ordering guarantee는 보이지 않습니다.
  </ResponseField>

  ## 예제

  table의 direct values를 JSON array-marked table로 모읍니다.

  ```lua theme={null}
  local list = json.array({ "one", "two" })

  for _, value in ipairs(json.values(list)) do
      print(value)
  end
  ```
</div>
