Decodes a JSON string into a table.
result, err = json.decode("s")
s is the string to decode.
result is the resulting table, or nil on failure
err is the error message if there is one available, always set to nil on success
Premake 5.0 or later.