I wanted to create a string in groovy in following structure
"{\"Changes\": [{\"Action\": \"UPSERT\", \"ResourceRecordSet\":
{ \"Name\": \"rms-collector-demo.cnqr.delivery.\",\"Type\":
\"CNAME\",\"TTL\": 300,\"ResourceRecords\": [{ \"Value\":
\"d-4kushcom5y13.execute-api.us-west-2.amazonaws.com\"}]}}]}"
tried with escaping characters but was not useful. can some one help what should be the format used in groovy to define this string.
'''or"""(three quotes). What is your use case?