26.06.2023, 08:59
For testing purposes you can write the results into a file before decoding it:
Then open the log in your browser: http://LM_IP/log.json
You can use https://codebeautify.org/jsonviewer to view the JSON contents in a more readable form.
Code:
response = table.concat(response)
io.writefile('/www/log.json', response)
response = json.decode(response)
-- log(response)
Then open the log in your browser: http://LM_IP/log.json
You can use https://codebeautify.org/jsonviewer to view the JSON contents in a more readable form.