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

Add buffered JsonData implementation for Jackson #567

Merged
merged 1 commit into from
May 5, 2023
Merged

Conversation

swallez
Copy link
Member

@swallez swallez commented May 5, 2023

This PR adds a BufferingJsonParser interface that a JSON parser can implement to provide an implementation of JsonData based on a JSON event buffer, instead of a materialized JsonValue.

This brings some important performance and memory usage improvements when the JsonData data is later deserialized into an application object, or even a primitive type.

Fixes #548, and will be part of version 8.8.0.

@swallez swallez merged commit 4bd9029 into main May 5, 2023
@swallez swallez deleted the improve-jsondata branch May 5, 2023 18:53
swallez added a commit that referenced this pull request May 5, 2023
Co-authored-by: Sylvain Wallez <sylvain@elastic.co>
swallez added a commit that referenced this pull request May 5, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Co-authored-by: Sylvain Wallez <sylvain@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

High allocation rate in JsonValue.to
1 participant