I am new to Python and trying to edit a .json file that looks like the dictionary below: { "name": "MB_NDE_AX667_ECU[500-2000]", "physical_quantity": "acceleration", "unit": "m/s2", "okrangelow": 0, "okrangehigh": 10, "input": "ch2_ECU1.rms", "history": { "ds": 30, "timer": 24, "files": 30 }, "reg": 44 },
My goal is to get another json file that will have the dictionary restructured to single line dictionary, e.g:
{"name":"MB_NDE_AX667_ECU[500-2000]","physical_quantity":"acceleration",......}
How could I do this?
Thanks