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

> Возвращает, является ли value treated as a JSON object через Real JSON table detection.

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

  ## Аргументы

  <ParamField path={"value"} type={"any"} required>
    Value для inspect. Non-table values возвращают false.
  </ParamField>

  ## Возвраты

  <ResponseField name={"isObject"} type={"boolean"}>
    true, когда value является table marked as a JSON object или когда Real JSON table detection не классифицирует table как array. Empty unmarked tables возвращают true.
  </ResponseField>

  ## Пример

  Check, является ли table treated as a JSON object через 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>
