I've tried to follow all the examples in this forum to get the function to return the 'cameraId' value from the following json:
{"dispositions":[{"scannedLabel":"m073770000100000000006700","cameraId":"2023031020313301672","inductNumber":0,"intendedLane":"123","actualLane":"123","labelStatus":"NORMAL","tiltTrayId":"TiltTray"}]}
The following Expression:
jsonGet({[MQTT Engine]IBM_MQTT/MHE/SORTER/DISPOSITION},'dispositions')
returns the following:
[{"scannedLabel":"m073770000100000000006700","cameraId":"2023031020313301672","inductNumber":0,"intendedLane":"123","actualLane":"123","labelStatus":"NORMAL","tiltTrayId":"TiltTray"}]
the following results in an expression error:
jsonGet({[MQTT Engine]IBM_MQTT/MHE/SORTER/DISPOSITION},'dispositions.cameraId')