Edit: This came from here:
It’s ironic that you posted this today, because I am fighting the escaped string issue to make it easier to read the jsonc files that encapsulate App Studio layers. I tried using your template solution from another thread for parsing and kept getting Sorry Something Went Wrong.
Do you have any tips on getting the code from the Content key in the layout files to format as proper json? This is the format:
"{\"config\":{\"Name\":\"config\",\"Version\":\"2.0\"},\"layout\":{\"Name\":\"layout\",\"Version\":\"3.0\",\"Diffs\":[{\"Id\":\"\",\"Path\":\"/caption\",\"Value\":\"Customer(entry)\",\"Operation\":\"Replace\",\"Index\":0}],\"Operation\":\"Replace\"},\"Main\":{\"Name\":\"Main\",\"Version\":\"3.0\",\"Diffs\":[{\"Id\":\"\",\"Path\":\"/caption\",\"Value\":\"Customer(entry)\",\"Operation\":\"Replace\",\"Index\":0}],\"Operation\":\"Replace\"},\"Slider.NewCustomerShipTo\":{\"Name\":\"Slider.NewCustomerShipTo\",\"Version\":\"3.0\",\"Diffs\":[],\"Operation\":\"Replace\"},\"Activity\":{\"Name\":\"Activity\",\"Version\":\"3.0\",\"Diffs\":[],\"Operation\":\"Replace\"},\"Slider.GlbContactList\":{\"Name\":\"Slider.GlbContactList\",\"Version\":\"3.0\",\"Diffs\":[],\"Operation\":\"Replace\"},\"Slider.GlbShipToList\":{\"Name\":\"Slider.GlbShipToList\",\"Version\":\"3.0\",\"Diffs\":[],\"Operation\":\"Replace\"}"