You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it can not work if i use array index after ?(@ expression , it only rerurn []
This is json which what to parse
{"gatewayId":"mqtt.c1209830320910331904","msgType":"report","namespace":"10000210","payload":[{"data":{"0.12.85":5520},"did":"mqtt.c1209830336887947264","time":1711713042852}],"random":"123","seq":41782,"timeStamp":1711713042852}
This is the query
$['payload'][?(@.did == 'mqtt.c1209830336887947264')].[0]['data']['0.12.85']
The text was updated successfully, but these errors were encountered:
it can not work if i use array index after ?(@ expression , it only rerurn []
This is json which what to parse
{"gatewayId":"mqtt.c1209830320910331904","msgType":"report","namespace":"10000210","payload":[{"data":{"0.12.85":5520},"did":"mqtt.c1209830336887947264","time":1711713042852}],"random":"123","seq":41782,"timeStamp":1711713042852}
This is the query
$['payload'][?(@.did == 'mqtt.c1209830336887947264')].[0]['data']['0.12.85']
The text was updated successfully, but these errors were encountered: