Member since
11-02-2025
2
Posts
0
Kudos Received
1
Solution
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 154 | 11-19-2025 11:28 PM |
11-19-2025
11:28 PM
Generally, I agree with the comments and JOLT is not so flexible for this purpose. In my case I did it with multiple matches for various responses, but still format is needed. I will close the ticket, thank you Andrés @vafs
... View more
11-03-2025
12:26 AM
Hi, I am looking how to handle cases when json format may vary between different client responses. On response {
"data": [
{
"ID": "123",
"Name": "Queen"
},
{
"ID": "456",
"Name": "King"
}
]
} we apply following jolt transform: [
{
"operation": "shift",
"spec": {
"data": {
"*": {
"ID": {
"456": {
"@(2,Name)": "Name"
}
}
}
}
}
}
] but some times response is coming without leading "{"data": and our transformation fails. So, generally, how can we query json with JOLT if we know for instance that Name and ID are next to each other somewhere in the structure?
... View more
Labels:
- Labels:
-
Apache NiFi