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

> Mengembalikan direct values dari table dalam table baru marked as JSON array. JSON kind marker entries dilewati.

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

  ## Argumen

  <ParamField path={"object"} type={"table"} required>
    Table yang akan di-enumerate. Function memeriksa argument ini dengan type checking.
  </ParamField>

  ## Return

  <ResponseField name={"values"} type={"table"}>
    New array-style table berisi direct values dari input table. Output marked as JSON array. Enumeration memakai table iteration, jadi tidak ada ordering guarantee yang terlihat di function.
  </ResponseField>

  ## Contoh

  Mengumpulkan direct values dari table ke 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>
