I have a string like the below:
"{
""station-id"": ""FMAT2"",
""lon"": ""-97.37055556"",
""value"": ""8.66"",
""lat"": ""32.80805556"",
""data-type"": ""PCIRR"",
""time"": ""210606"",
""date"": ""170417""
}"
I need to replace all "" with ". I used the below code for that, but the thing is that " works and makes ) green. So would you help me resolve this problem.
line = line.replace("",")
TNX
line = line.replace('""', '"')'""','"'). Notice i surrounded the double quote strings with single quote strings