vincentmorneau / json-mapping

Change the structure of an existing JSON object with this mapping module

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

when oldKey === newKey, then don't _set and _unset

vincentmorneau opened this issue · comments

In these cases, we should simply replace the key values. Right now, the old key is removed and a new key is added at the end of the json object.