Lua function "item" called with argument of type table
The function is the outer part with the parentheses, the table is the inner part with the curly braces. ["attr"] is a table inside the table.
For example, to access (table)>attr>size you would write: table["attr"]["size"] (assuming the table is named, that is, assigned to a variable called "table")
I thought json at first too but json does not use brackets around its keys like that or semicolons to end a key value pair, it uses commas. It also doesnt use equal signs for the value assignments, it uses colons.