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

> Devuelve si un value se treated as a JSON object por 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 que se inspect. Non-table values devuelven false.
  </ParamField>

  ## Retornos

  <ResponseField name={"isObject"} type={"boolean"}>
    true cuando el value es una table marked as a JSON object o cuando Real JSON table detection no clasifica la table como array. Empty unmarked tables devuelven true.
  </ResponseField>

  ## Ejemplo

  Check si una table se treated as a JSON object por 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>
