I have a switch node looking a value in a Context Object and when i do a (what i thought was a straight string comparison for ==) it does not match - when i change the switch to contains - it does match
I have checked with the vendor and they are not adding spaces - and when i copy the value into a text editor there do not appear to be and leading/trailing space - any ideas ?
Your data stream is most likely a string formated according JSON-format, which clearly defines the data type (no assumptions from NR ) .. I often use this link to analyse/test JSON strings
Hey Craig.
Just in passing, and reading your question.
You said msg.payload[0].estimate and checking if it is true.
The second picture is the payload.
Wouldn't it be msg.payload[0].trafficInformation.estimate ?
Sorry, just wondering.