OK, I have solved the issue - the json file causes this error:
|mm | Whoops! There was an uncaught exception...
0|mm | SyntaxError: Unexpected token in JSON at position 0
0|mm | at JSON.parse (<anonymous>)
0|mm | at Request._callback (/home/pi/MagicMirror/modules/MMM-JsonTable/node_helper.js:15:21)
0|mm | at Request.self.callback (/home/pi/MagicMirror/node_modules/request/request.js:186:22)
0|mm | at emitTwo (events.js:126:13)
0|mm | at Request.emit (events.js:214:7)
0|mm | at Request.<anonymous> (/home/pi/MagicMirror/node_modules/request/request.js:1163:10)
0|mm | at emitOne (events.js:116:13)
0|mm | at Request.emit (events.js:211:7)
0|mm | at IncomingMessage.<anonymous> (/home/pi/MagicMirror/node_modules/request/request.js:1085:12)
0|mm | at Object.onceWrapper (events.js:313:30)
0|mm | MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
0|mm | If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
There are three bytes at the beginning of the json file before the first ‘{’. I am using an Excel to JSON converter from where I copy and paste the data.
I use VS Code as my code editor and with a blank new file, when I paste the data from the online converter and save, those extra bytes are at the start of the file. Same with Notepad and Editplus.
Without these 3 extra bytes, the module loads the file OK. Now I just need to figure out how to save the data without those extra bytes.
BTW, the correct url that I used is:
'http://192.168.1.27:8080/modules/MMM-JsonTable/xxxxxx.json'