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

> Retorna os direct values de uma table em uma nova table marked as JSON array. JSON kind marker entries sao ignorados.

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

  ## Argumentos

  <ParamField path={"object"} type={"table"} required>
    Table a ser enumerate. A function verifica este argument com type checking.
  </ParamField>

  ## Retornos

  <ResponseField name={"values"} type={"table"}>
    New array-style table contendo os direct values da input table. O output e marked as JSON array. Enumeration usa table iteration, entao nao ha ordering guarantee visivel na function.
  </ResponseField>

  ## Exemplo

  Coleta os direct values de uma table em uma 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>
