Having this list with two JSON strings on it:
myJSONStringList = ['{"user": "testuser", "data": {"version": 1, "timestamp": "2018-04-03T09:23:43.388Z"}, "group": "33"}',
'{"user": "otheruser", "data": {"version": 2, "timestamp": "2018-04-03T09:23:43.360Z", }, "group": "44"}']
How can I convert this to a JSON array? This is my desired output:
[{"user": "testuser", "data": {"version": 1, "timestamp": "2018-04-03T09:23:43.388Z"}, "group": "33"},
{"user": "otheruser", "data": {"version": 2, "timestamp": "2018-04-03T09:23:43.360Z", }, "group": "44"}]
I know I can do a dirty solution by just doing myJSONStringList.replace("'", ""), but is there any pythonic solution to this by using, for example, the json module?
Thanks in advance