Lean and mean Javascript implementation of the JSON-Patch standard (RFC 6902). Update JSON documents using delta patches.
1.79k
stars
215
forks
source link
replace incorrectly adds value when target location does not exist #269
Open
rybesh opened 3 years ago
Section 4.3 of RFC6902 says:
But
fast-json-patch
incorrectly does anadd
instead of failing in this situation:The result is: