Solved
Hello,
I’m working with this JSON structure:
[
{
"field_a": "string",
"entries": [{}, {}, {}],
"shared": []
}
]
I need to remove only the last object from the entries array and append it to the shared array, leaving the other entries intact. What’s the most straightforward way to accomplish this?
Thank you for your help.
Kind regards,
Adam
/discussions/pipelines/how-can-i-pop-the-last-element-from-one-array-and-append-it-to-another/40220