Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sort "del" changes to array in reverse order #10

Open
brollb opened this issue Aug 21, 2020 · 0 comments
Open

sort "del" changes to array in reverse order #10

brollb opened this issue Aug 21, 2020 · 0 comments

Comments

@brollb
Copy link

brollb commented Aug 21, 2020

It would be great if deletion operations for arrays were presented in reverse order to ensure that they are deleted from the end rather than from the start. For regular JSON, the current approach is fine but the current approach is problematic when using this to edit a more complex object which does not provide the same low-level access since it might automatically shift the indices down for us.

A concrete example where this is problematic can be found here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant