This pasted below is the string I get from the mqtt node.
I've tried to put into a validator and the json seems fine (no errors)
Also If I take that json string and manually inject to a new JSON node I get the JSON object without issue...so the problem is still around the mqtt node I think
{
"xdk2mam":[
{
"sensorType":"Environmental",
"data":[
{
"name":"Pressure",
"value":"100091"
},
{
"name":"Temperature",
"value":"27290"
},
{
"name":"Humidity",
"value":"45"
}
]
},
{
"sensorType":"Accelerometer",
"data":[
{
"name":"x",
"value":"30"
},
{
"name":"y",
"value":"-131"
},
{
"name":"z",
"value":"992"
}
]
},
{
"sensorType":"Gyroscope",
"data":[
{
"name":"x",
"value":"0"
},
{
"name":"y",
"value":"3295"
},
{
"name":"z",
"value":"4394"
}
]
},
{
"sensorType":"Inertial",
"data":[
{
"name":"x",
"value":"-305"
},
{
"name":"y",
"value":"-854"
},
{
"name":"z",
"value":"-122"
}
]
},
{
"sensorType":"Light",
"data":[
{
"name":"milliLux",
"value":"12150"
}
]
},
{
"sensorType":"Magnetometer",
"data":[
{
"name":"x",
"value":"27"
},
{
"name":"y",
"value":"13"
},
{
"name":"z",
"value":"7"
}
]
}
],
"device":"248CE70556960C54",
"timestamp":"1551949151"
}