Skip to content

Conversation

@swallez
Copy link
Contributor

@swallez swallez commented May 23, 2022

Fixes #156

When building a JsonObject, JSON-P (or at least Parsson) interprets floating point values in the JSON as integers if they fit into an integer value (e.g. 1.4778125E7).

This PR fixes in the Jackson-JSON-P bridge, so that deserializing a floating point value as an Object will always return a Double and not an Integer.

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.

Inconsistency between deserialization of _msearch/_mget and _search/_get number values

1 participant