I am evaluating if I can achieve the following use case in Javascript, because I want to use this inline script in Logicapp
Input Text:
{"id":2097,"date":"2021-12-03T00:00:22","name":"data-load","cData":"This game is the most played game inside "USA". If you are also sure of your luck, then you must take this ticket. If you have "good luck", then the next first prize can be "yours"."}
Expected Output Json
{"id":2097,"date":"2021-12-03T00:00:22","name":"data-load","cData":"This game is the most played game inside \"USA\". If you are also sure of your luck, then you must take this ticket. If you have \"good luck\", then the next first prize can be \"yours\"."}
Need the value change for Key ["cData"] only. It should be very simple, I think.
I am not familiar with JavaScript though want to explore the options here as well so I can save some extra loop in LogicApp. Any suggestions appreciated.