Argumenty
table
Optional source table. Gdy pominieta lub nil, json.array zwraca new empty array-marked table. Gdy podana, tylko numeric sequence entries od 1 with #source sa kopiowane do new table.
Zwroty
table
New table z JSON array marker. json.encode serializes ja jako JSON array; original source table nie jest zwracana.