Starcounter-Jack / JSON-Patch

Lean and mean Javascript implementation of the JSON-Patch standard (RFC 6902). Update JSON documents using delta patches.
MIT License
1.78k stars 215 forks source link

Maybe it's already discussed, but anyone think of how to patch array member in a more flexible approach? #289

Open aerofish opened 2 years ago

aerofish commented 2 years ago

In the RFC 6902, it's define the to select a member of array with index. But it's really not convenient due to it's related to the sorting. When multiple operations work on the same array, the final order of the array members become unpredictable. Is there anybody solve this issue?