...
Expand | |||||
---|---|---|---|---|---|
| |||||
You can use String:split() to split the function on (“\n”):
By Using trace() function, we can click on the List in the annotations and see the following: This string is split into a Lua table with individual lines as list you can now begin to process. This is great... but with Iguana, we’ve made it a little easier to efficiently parse and process JSON. |
Expand | |||||
---|---|---|---|---|---|
| |||||
JSON objects are parsed into Lua tables as dictionaries with key-value pairs. You can see this clearly in the Annotation Window. |
...
Expand | |||||
---|---|---|---|---|---|
| |||||
|