Closed Pytry closed 3 months ago
You have to use the @
operator instead:
[
{
"operation": "shift",
"spec": {
"items": {
"*": {
"a": "results[&1].a",
"b": "results[&1].b",
"@(2,rate)": "results[&1].RATE"
}
}
}
}
]
You have to use the
@
operator instead:
It worked! I could of sworn I tried that already:P Thank you so much for the help:)
Given The Input:
The output should be:
My current chain is:
The intent of "&3.rate" was to traverse back to the root andis to grab the value of a field off of the root. The number of entries in "items" cannot be known before hand.
Is there a way to accomplish this?