How to extract array value from msg.payload - Bacnet Read Value

Newbie alert!

There must be a better way to extract the value of a BACnet Dig. Out read message ...

I've tried various function nodes combos .. but no joy. :frowning:

Here is a copy of the path ..

payload.values[0].values[0].value[0].value

and debug message ..

2/18/2020, 11:11:10 AMnode: TC_DO2rtype : msg.payload : number

9

12/18/2020, 11:21:09 AMnode: TC_DO2rmsg.payload : Object

object

len: 13

values: array[1]

0: object

objectId: object

values: array[1]

0: object

id: 85

index: 4294967295

value: array[1]

0: object

value: 0

type: 9

Any tips and help very appreciated.