Parsing Json to Tago Json

Parsing Json to Tago Json

Hi Everyone, 

Working on a proof of concept dash for a quick start guide. I need to parse out this json slug from my device and I have had some success with the convert raw json to Tago parser. However, part of my slug contains a decoded payload that I'd like to pull the variables out of. Unfortunately, the parser doesn't traverse the decoded payload to parse out those variables. In this example payload I would want to parse out all the main payload objects of the payload (which is working), but also parse out buttonstate, humidity, and temperature instead of converting the payload hex. 
  1. [
  2.     {
  3.         "Time": "2022-03-10T21:45:04.82Z",
  4.         "DecoderType": "MQPS",
  5.         "DevEUI": "2CC407FFFE5006B2",
  6.         "DevAddr": "44ABAC6A",
  7.         "FPort": "7",
  8.         "FCntUp": "451",
  9.         "ADRbit": "1",
  10.         "ACKbit": "",
  11.         "MessageType": "2",
  12.         "FCntDn": "108",
  13.         "payload_hex": "00c26720",
  14.         "decoded_payload": {
  15.             "buttonState": "0",
  16.             "humidity": "51.5",
  17.             "temperature": "19.4"
  18.         },
  19.         "mic_hex": "626f5a80",
  20.         "GatewayRSSI": "-61.000000",
  21.         "GatewaySNR": "9.250000",
  22.         "SpreadingFactor": "7",
  23.         "SubBand": "G0",
  24.         "Channel": "LC4",
  25.         "GatewayCount": "1",
  26.         "GatewayID": "07003B1A",
  27.         "Late": "0",
  28.         "GatewayLAT": "39.944412",
  29.         "GatewayLON": "-75.184189",
  30.         "GatewayList": [
  31.             {
  32.                 "GatewayID": "07003B1A",
  33.                 "GatewayRSSI": "-61.000000",
  34.                 "GatewaySNR": "9.250000",
  35.                 "GatewayESP": "-61.487720"
  36.             }
  37.         ],
  38.         "metadata": {
  39.             "mqtt_topic": "mqtt-demo"
  40.         }
  41.     }
  42. ]
Let me know if this needs any more info.