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

> Real JSON encoder tarafindan object olarak ele alinmasi icin new table marked as a JSON object olusturur.

<div className="real-function-page">
  ```lua theme={null}
  json.object(source?: table): table
  ```

  ## Argümanlar

  <ParamField path={"source"} type={"table"}>
    New object table icine copy edilecek optional source table. omitted veya nil ise empty object table dondurulur.
  </ParamField>

  ## Dönüşler

  <ResponseField name={"object"} type={"table"}>
    Real JSON object marker ile marked new table. Source entries copy edilir, Real JSON type marker haric tutulur.
  </ResponseField>

  ## Örnek

  Empty object dahil new table marked as a JSON object create et.

  ```lua theme={null}
  local profile = json.object({
      name = "Guest",
      active = true,
  })
  local empty = json.object()

  print(json.encode(profile))
  print(json.encode(empty))
  ```
</div>
