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

> Zwraca, czy value jest treated as a JSON object przez Real JSON table detection.

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

  ## Argumenty

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

  ## Zwroty

  <ResponseField name={"isObject"} type={"boolean"}>
    true, gdy value jest table marked as a JSON object albo gdy Real JSON table detection nie klasyfikuje table jako array. Empty unmarked tables zwracaja true.
  </ResponseField>

  ## Przykład

  Check, czy table jest treated as a JSON object przez 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>
