02-08-2023 09:16 PM
Hi,
I have output from a mapper as below. Want to pick the first Date value.
[
{
“Date”: “2022-12-19T14:50:51.000”,
“Id”: 435345
},
{
“Date”: “2022-12-23T11:22:17.000”,
“Id”: 087696
},
{
“Date”: “2023-01-30T01:20:53.000”,
“Id”: 474372
}
]
Thanks.
02-08-2023 10:02 PM
$array[0][‘Date’] if the streaming object is an array
If this is a streaming document then you can use the Head snap
Thanks,
MM