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

Do not mix mapper types in JsonData serialization #440

Merged
merged 1 commit into from Nov 7, 2022

Conversation

swallez
Copy link
Member

@swallez swallez commented Nov 7, 2022

Fixes #424

JsonpMappers can require generators to have been created by them (e.g. JacksonJsonpMapper), so we should make sure to not mix mapper types when serializing JsonData.

Instanciating a JsonData with its mapper is of little use, if useful at all, and will be deprecated in 8.6 and removed in a later version.

@swallez swallez merged commit e54f965 into main Nov 7, 2022
@swallez swallez deleted the fix-to-string-jackson branch November 7, 2022 14:53
swallez added a commit that referenced this pull request Nov 7, 2022
Co-authored-by: Sylvain Wallez <sylvain@elastic.co>
swallez added a commit that referenced this pull request Nov 7, 2022
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.

IllegalArgumentException in toString()
1 participant