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

> Tra ve direct values tu table trong mot table moi marked as JSON array. JSON kind marker entries duoc bo qua.

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

  ## Đối số

  <ParamField path={"object"} type={"table"} required>
    Table de enumerate. Function kiem tra argument nay bang type checking.
  </ParamField>

  ## Giá trị trả về

  <ResponseField name={"values"} type={"table"}>
    New array-style table chua direct values tu input table. Output duoc marked as JSON array. Enumeration dung table iteration, nen khong thay ordering guarantee trong function.
  </ResponseField>

  ## Ví dụ

  Gom direct values tu table vao 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>
