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

> Zwraca direct values z table w nowej table marked as JSON array. JSON kind marker entries sa pomijane.

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

  ## Argumenty

  <ParamField path={"object"} type={"table"} required>
    Table do enumerate. Function sprawdza ten argument przez type checking.
  </ParamField>

  ## Zwroty

  <ResponseField name={"values"} type={"table"}>
    New array-style table zawierajaca direct values z input table. Output jest marked as JSON array. Enumeration uzywa table iteration, wiec w function nie widac ordering guarantee.
  </ResponseField>

  ## Przykład

  Zbiera direct values z table do 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>
