Changing Variable values

i have a variable with content as in example below Now  i need to change the values inside double quotes with another variable.(or replace the whole line with a new updated line ) this needs to happen for all the lines in the variable. How can this be done.. example below : this field is pulled from a string attribute in a entity. {     "Name": "",     "City": "" }   it should change to below.  with John and Dallas being variables/values from attributes. {     "Name": "John",     "City": "Dallas" }    
1 answers

You would be better looking at using a JSON Structure and an Export Mapping to convert your data into a String with this format.

Hope this helps