Hi, I am having trouble in Node Red converting a JavaScript object to an array or format where I can manipulate the data. Below is what the object looks like, basically a single object "array" with data, where the keys (left hand side) are timestamps that continually change. I am reading these from a JSON file and converting all the info from the file to JS objects. How do I convert this "table" to an array or other format, so I can use the data (right hand side)? I am actually only interested in the last value in the table.
Thanks in advance!
jstou
10/14/2019 11:05:10 AMnode: 803a9dad.98efb
msg.payload : Object
object
2019-10-04T10:36:34.4726616-04:00: 16
2019-10-04T10:37:34.4726616-04:00: 17
2019-10-04T10:38:34.4726616-04:00: 16
2019-10-04T10:39:34.4726616-04:00: 24
2019-10-04T10:40:34.4726616-04:00: 7
2019-10-04T10:41:34.4726616-04:00: 14
2019-10-04T10:42:34.4716544-04:00: 27
2019-10-04T10:43:34.4706866-04:00: 27
2019-10-04T10:44:34.4686451-04:00: 18
2019-10-04T10:47:59.9528671-04:00: 29.053
2019-10-04T10:53:05.2162999-04:00: 29.053
2019-10-04T10:54:56.0889368-04:00: 29.053
2019-10-04T10:56:20.0673513-04:00: 29.053
2019-10-04T10:56:46.6303011-04:00: 29.053
2019-10-04T10:57:12.9376103-04:00: 29.053