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

Place @context entry on top. #5

Closed
timothee-haudebourg opened this issue Dec 23, 2020 · 1 comment
Closed

Place @context entry on top. #5

timothee-haudebourg opened this issue Dec 23, 2020 · 1 comment
Labels
compaction Compaction algorithm related issue enhancement New feature or request

Comments

@timothee-haudebourg
Copy link
Owner

Because of a limitation of the json crate, the compaction algorithm can only attach the @context entry at the bottom of the generated json object. I see two solutions for this:

@timothee-haudebourg timothee-haudebourg added compaction Compaction algorithm related issue enhancement New feature or request labels Dec 23, 2020
@timothee-haudebourg
Copy link
Owner Author

Fixed with json_syntax::Object::insert_front method used here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compaction Compaction algorithm related issue enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant