proofgeist/fm-json-additions

Support for deep merge

Opened this issue · 1 comments

Here's a modified JSON.Merge function that performs a deep merge. There's a new test, and all tests are passing. Can you please have a look and help make sure it's solid?

JSONAdditions-GH 20.fmp12.zip

I found and fixed an issue where a deep merge would fail if the sourceValue is an object and there was no target object. See the revised file with the fix and new test. All tests are passing.
JSONAdditions-GH 20v2.fmp12.zip