Hello,
Can someone help me write a lua table with the following JSON data? I don’t want to decode this, I just want to see how to create a table in my app that will then be encoded to look like the JSON below. I need to know how to take data from name and age fields and put them into a table. I can do this but I need the employees at the beginning and I do not know how to do that.
Thanks!
{ "employees": [{ "name": "John", "Age": "10" }, { "name": "Joe", "Age": "11" }, { "name": "Jim", "Age": "12" }] }