diff --git a/flows.json b/flows.json index d322f0b..a0b530b 100644 --- a/flows.json +++ b/flows.json @@ -21959,5 +21959,27 @@ ], "resend": false, "debugEnabled": false + }, + { + "type": "tab", + "id": "eede1dda54778251", + "info": "" + }, + { + "id": "9e4fac23fd2c73ed", + "type": "function", + "z": "eede1dda54778251", + "name": "Escape JSON string", + "wires": [ + [] + ], + "func": "msg.payload = JSON.stringify(msg.payload).replace(/\"/g, '\\\"');\n\nreturn msg;", + "outputs": 1, + "noerr": 0, + "initialize": "", + "finalize": "", + "libs": [], + "x": 320, + "y": 140 } ] \ No newline at end of file