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