This is great timing. I can definitely use something like this.
Does the input variable require [#34] as opposed to the actual quotation mark (")?
SetVar "[xx]" "{[#34]firstName[#34]:[#34]John[#34],[#34]lastName[#34]: [#34]Smith[#34]}"
A bit of a head scratcher here... I'm reading a JSON file to a variable.
FileRead "[PubDir]forecast.json" "All" "[forecast]"
So, the variable [forecast] has the actual quotation marks.
{"location":{"name":"Moss Point","region":"Mississippi","country":"USA","lat":30.43,"lon":-88.53,...
How do I replace all of the "s with [#34]s? StrReplace doesn't do it.
{[#34]location[#34]:{[#34]name[#34]:[#34]Moss Point[#34],[#34]region[#34]:[#34]Mississippi[#34],[#34]country[#34]:[#34]USA[#34],[#34]lat[#34]:30.43,[#34]lon[#34]:-88.53,...
The sample pub works fine but I'm ending up with an access violation error.
This is great timing. I can definitely use something like this.
Does the input variable require [#34] as opposed to the actual quotation mark (")?
SetVar "[xx]" "{[#34]firstName[#34]:[#34]John[#34],[#34]lastName[#34]: [#34]Smith[#34]}"
A bit of a head scratcher here... I'm reading a JSON file to a variable.
FileRead "[PubDir]forecast.json" "All" "[forecast]"
So, the variable [forecast] has the actual quotation marks.
{"location":{"name":"Moss Point","region":"Mississippi","country":"USA","lat":30.43,"lon":-88.53,...
How do I replace all of the "s with [#34]s? StrReplace doesn't do it.
{[#34]location[#34]:{[#34]name[#34]:[#34]Moss Point[#34],[#34]region[#34]:[#34]Mississippi[#34],[#34]country[#34]:[#34]USA[#34],[#34]lat[#34]:30.43,[#34]lon[#34]:-88.53,...
The sample pub works fine but I'm ending up with an access violation error.