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

> Retorna se um value e treated as a JSON object pela Real JSON table detection.

<div className="real-function-page">
  ```lua theme={null}
  json.isObject(value: any): boolean
  ```

  ## Argumentos

  <ParamField path={"value"} type={"any"} required>
    Value para inspect. Non-table values retornam false.
  </ParamField>

  ## Retornos

  <ResponseField name={"isObject"} type={"boolean"}>
    true quando o value e uma table marked as a JSON object ou quando Real JSON table detection nao classifica a table como array. Empty unmarked tables retornam true.
  </ResponseField>

  ## Exemplo

  Check se uma table e treated as a JSON object pelo Real JSON encoder.

  ```lua theme={null}
  local record = json.object({ name = "Real" })
  local items = json.array({ "one", "two" })
  local empty = {}

  print(json.isObject(record))
  print(json.isObject(items))
  print(json.isObject(empty))
  ```
</div>
