Name
json.new — Create an empty JSON object
Synopsis
require("json");
json.new()
Description
Create an empty JSON object.
o = json.new();
o.name = "value";
print(o); -- { "name": "value" }
See Also
Was this page helpful?
json.new — Create an empty JSON object
require("json");
json.new()
Create an empty JSON object.
o = json.new();
o.name = "value";
print(o); -- { "name": "value" }