Skip to main content

Arguments

table
Optional source table to copy into the new object table. If omitted or nil, an empty object table is returned.

Returns

table
New table marked with Real’s JSON object marker. Source entries are copied, except Real’s JSON type marker.

Example

Create a new table marked as a JSON object, including an empty object.