06-22-2018 02:45 PM
I am trying to create a JSON formatted output that dynamically changes the name of the JSON object based on the loop iteration.
Right now my output formatting is like this:
{
"Variant":{
"Letter":"VIL",
"Number":9
}
}{
"Variant":{
"Letter":"RVK",
"Number":8
}
}
...
But I want it to appear as this:
{
"Loop Number 1":{
"Letter":"VIL",
"Number":1
"Loop Number 2":{
"Letter":"RVK",
"Number":2
}
....
}
What am I doing wrong, and what do I need to do to make it right?
Solved! Go to Solution.
06-22-2018 08:16 PM
Hi smurfinturf,
I doubt you really want to use variants and flatten to string.
Here's how I'd build that formatted string:
Hope it helps!
06-23-2018
04:41 AM
- last edited on
04-07-2025
11:15 AM
by
Content Cleaner