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

> Tra ve value co duoc treated as a JSON object boi Real JSON table detection hay khong.

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

  ## Đối số

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

  ## Giá trị trả về

  <ResponseField name={"isObject"} type={"boolean"}>
    true khi value la table marked as a JSON object hoac khi Real JSON table detection khong phan loai table la array. Empty unmarked tables tra ve true.
  </ResponseField>

  ## Ví dụ

  Check table co duoc treated as a JSON object boi Real JSON encoder hay khong.

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