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

Support concurrency / improved performance for multiple queries on same JSON payload #237

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

samsullivan
Copy link

RE: #236

I don't love the naming decisions of this implementation, but the main idea is that I needed a way to run normalize numbers once for a JSON payload. Should also be backwards compatible with existing functions.

For an example implementation: samsullivan/jqless#3

@samsullivan
Copy link
Author

Also, the type safety isn't the best here, since you can convert any interface to gojq.PreparedData without actually normalizing numbers...

@smithxxl
Copy link

Fantastic work @samsullivan ! Hopefully this gets tested and approved :)

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

Successfully merging this pull request may close these issues.

None yet

2 participants