Hi,
I am new to Power Automate however with decent coding skills in typescript ( my background)
Question: I am struggling to update the array elements within JSON with a set of values in hand.
I want to create a final payload for my API call from different sources to make it simple here is my problem statement:
1. If I have a BaseJson Object variable as mentioned below
BaseJson = {
"app": 1,
"names": []
}
2. An array variable of names of type array as below.
[
"cy",
"tt"
]
I wish to construct the final object as mentioned below without using string manipulation.
FinalJson = {
"app": 1,
"names": ["cy",
"tt"]
}