Open Helaas opened 2 years ago
First - please notice that "MergeObjects" it the one to use. The older "NodeMerge" is deprecated, but have strang behaviour - but is used and cannot be removed.
next: json_copyValue is - as implied - values only
Let me just come back with an example of a deep merge..
Hello,
Firstly, thanks again for the xml_Locate change from last week.
I have a issue/question about the JSON copy example. Is my understanding correct that this code should duplicate the entire content of the from object to the destination objects?
Because when I try this, my Content2 variable is empty in the firsty attempt, however, when I use mergeObject, it works just fine.
What is the preferred way to copy a whole node to an other node?