I did try with the change node. I am still unable to make an object.
This is what I am getting out of the change node (if I copy the data):
{"{ "device" : "2058EE", "time" : "1654774964", "data" : "5af3107a1d47", "seqNumber" : "155" }":""}
This is what is showing on the debug window.
@TotallyInformation Actually I am not doing anything to the incoming data. I just pass them to the change node. As I said in my previous post, I did try to pass the data directly to the Json node but still no luck.
This is my flow:
[
{
"id": "6e84afa4c1db253e",
"type": "http in",
"z": "33240871a29e1c47",
"name": "Sigfox Receiver",
"url": "/webhook_test_zXaeGZybPYu6f61Z",
"method": "post",
"upload": false,
"swaggerDoc": "",
"x": 240,
"y": 220,
"wires": [
[
"9813a5dbef26495b",
"886facf86abfa2e0",
"7a7dc16b3481b7dc"
]
]
},
{
"id": "9813a5dbef26495b",
"type": "http response",
"z": "33240871a29e1c47",
"name": "Response",
"statusCode": "201",
"headers": {},
"x": 460,
"y": 160,
"wires": []
},
{
"id": "d6ab6688f8e9603a",
"type": "debug",
"z": "33240871a29e1c47",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 690,
"y": 220,
"wires": []
},
{
"id": "7a7dc16b3481b7dc",
"type": "change",
"z": "33240871a29e1c47",
"name": "",
"rules": [
{
"t": "change",
"p": "payload",
"pt": "msg",
"from": "{\"{",
"fromt": "str",
"to": "{",
"tot": "str"
},
{
"t": "change",
"p": "payload",
"pt": "msg",
"from": "\": \"\" }",
"fromt": "str",
"to": "}",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 500,
"y": 220,
"wires": [
[
"d6ab6688f8e9603a"
]
]
}
]