Dear Srs, I obtain a JSON data like this:
{
"Nombre": [
"ITEM0",
"ITEM1",
"ITEM2",
"ITEM3",
"ITEM4"
],
"Latitud": [
"43.523224",
"43.522912",
"43.523068",
"43.522916",
"43.523052"
],
"Longitud": [
"-5.628755",
"-5.628594",
"-5.628626",
"-5.628744",
"-5.628809"
]
}
I need to transform into properly format to inject in a worldmap node. I try to do through JSONATA expression but I only obtain this:
[
[
"ITEM0",
43.523224,
-5.628755
],
[
"ITEM1",
43.522912,
-5.628594
],
[
"ITEM2",
43.523068,
-5.628626
],
[
"ITEM3",
43.522916,
-5.628744
],
[
"ITEM4",
43.523052,
-5.628809
]
]
With this function:
$zip(Nombre.$string(),Latitud.$number(),Longitud.$number())
I'm totally blocked. Could you help me to jump this issue?
Thanks in advanced.