Particle.publish and JSON escaped data

@frlobo how do you retrieve the data object? My events have the \ in there as well:

{"name":"sensor","data":"{\"status\": 0, \"temp\": 19.61, \"pressure\": 1011.15, \"humidity\": 59.32, \"soil1\": 3235, \"soil2\": 3303, \"soil3\": 3298}","ttl":"60","published_at":"2015-10-26T15:06:36.722Z","coreid":"25002c000447343339373536"}

I'm processing them via a web hook:

and reading them in the browser similar to the approach described here:

I have no trouble with the "".

1 Like