I have to pass the below string to a python command
'[{
  "action": "DELETE",
  "is_enabled": true,
  "name": "qe_ta_rule_kYKco6_ObjectLifecyclePolicy",
  "object_name_filter": null,
  "time_amount": 1,
  "time_unit": "DAYS"
}]'
Is there a way to replace all the newline characters so that i becomes a 1 line String
 
     
    