Sep-27-2018, 01:45 PM
Is this verbatim:
and can easily be loaded into a dictionary with json.load
Quote:{"ts": "2018-09-10 10:20:11.312151","action":0,"type":0,"Query":"SELECT COL1,COL2\n FROM TABLE1\LIMIT 1","ID":2}because if above is encased in brackets '[]', it's probably a JSON file.
{"ts": "2018-09-10 10:20:11.312151","action":"","type":0,"Query":"","ID":2} like that
and can easily be loaded into a dictionary with json.load