Closed israelroldan closed 7 years ago
Consider the following structure:
{ "foo.bar": true, "baz": false }
After calling remove(['baz']), the following is produced;
remove(['baz'])
{ "foo": { "bar": true } }
Which no longer corresponds to the original structure.
This is caused by the use of flatten+unflatten during delete.
Fixed with https://github.com/israelroldan/jsonbox/commit/1584ee5b3e81b7fdda3be9d7c59dd19cbb0cfbae
Consider the following structure:
After calling
remove(['baz'])
, the following is produced;Which no longer corresponds to the original structure.
This is caused by the use of flatten+unflatten during delete.