Hello,
How can I use a value from a object, based on its place in the object? I use a API that returns a result:
the problem is that the date is part of the object and will change every day.
I'm only interested in thevalue 2nd date "2023-01-22" in this flow
[
{
"id": "67ae90406b6c9f81",
"type": "inject",
"z": "b29659afe04a7d40",
"name": "",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "{\"result\":{\"2023-01-21\":18734,\"2023-01-22\":15786},\"message\":{\"code\":0,\"type\":\"success\",\"text\":\"\",\"info\":{\"latitude\":50.8154,\"longitude\":3.3773,\"distance\":0,\"place\":\"62, Otegemse steenweg, Deerlijk, Kortrijk, West-Vlaanderen, Vlaanderen, 8540, België / Belgique / Belgien\",\"timezone\":\"Europe/Brussels\",\"time\":\"2023-01-21T15:51:13+01:00\",\"time_utc\":\"2023-01-21T14:51:13+00:00\"},\"ratelimit\":{\"period\":3600,\"limit\":12,\"remaining\":11}}}",
"payloadType": "jsonata",
"x": 350,
"y": 200,
"wires": [
[
"4c35102c3b553ede"
]
]
}
]
Is ther a way to isolate thet value of the 2nd date in the object?
I checked already a lot of research but with no succes
Kind regards Tim