How can I serialize a Python list as a single line in JSON?
It appears to be that by default Python json module serializes a Python list using new lines between each element, like so: "data": [ -6.150000000000006, -0.5, 0.539999999999992, 0.5800000000000125, -4.6299999999999955, 12.0, 2.829999999999984, -1.4199999999999875, 1.759999999999991, -1.25, I would like to serialize the…