python – json loads, how to clear line breaks from outside of key value pairs but keep them within values?
We receive AWS notifications to an automated mailbox in JSON format, I have a python script that should process these, however when im loading the content/body of these emails into JSON it is erroring with json.decoder.JSONDecodeError: Extra data: line 5…