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

> Возвращает direct values из table в новой table, marked as JSON array. JSON kind marker entries пропускаются.

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

  ## Аргументы

  <ParamField path={"object"} type={"table"} required>
    Table для enumerate. Function проверяет этот argument через type checking.
  </ParamField>

  ## Возвраты

  <ResponseField name={"values"} type={"table"}>
    New array-style table с direct values из input table. Output marked as JSON array. Enumeration использует table iteration, поэтому ordering guarantee в function не видна.
  </ResponseField>

  ## Пример

  Собирает direct values из table в 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>
