I have this json coming from a client of my API:
{
"device" : "37AB2C",
"time" : "1552749097",
"data" : "0d01da0c1600",
"signal" : "Average",
"payload" :[
{
"lat":49.21706417063655,
"lng":16.627916371512473,
"radius":9228,
"source":2,
"status":1
}],
"seqnumber": 1714
}
But according to my configuration it only updates the device" : "37AB2C", "time" : "1552749097", "data" : "0d01da0c1600", "signal" : "Average". and it inserts "-" for the nested payload values. How can I handle this situation inside my Update Rest API handler?