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

Insert at a given position in Object #194

Open
timothee-haudebourg opened this issue Dec 23, 2020 · 0 comments
Open

Insert at a given position in Object #194

timothee-haudebourg opened this issue Dec 23, 2020 · 0 comments

Comments

@timothee-haudebourg
Copy link

Hi,

if I understand well, since #68 the order of an object entries is preserved during parsing. However the Object::insert function still always appends elements at the end. I believe this could be easily improved to allow insertion at any given position.

This would be particularly useful for my json-ld crate, where I sometimes need to add a special "@context" entry preferably in first position.

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