Skip to content

Conversation

ptiurin
Copy link
Contributor

@ptiurin ptiurin commented Apr 29, 2025

Fixing decimal parsing again. json.loads does not parse decimal if it's not quoted, since it breaks JSON convention. The value returned is truncated. I'm porting back a fix we had before streaming that does not parse float on json.loads and lets the rest of the parsing code handle it.
A bunch of tests to verify this in different scenarios.

@ptiurin ptiurin marked this pull request as ready for review April 29, 2025 16:13
@ptiurin ptiurin requested a review from a team as a code owner April 29, 2025 16:13
Copy link
Collaborator

@stepansergeevitch stepansergeevitch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM otherwise

Copy link

@ptiurin ptiurin merged commit 6f3f74e into main Apr 30, 2025
8 checks passed
@ptiurin ptiurin deleted the fix-v1-tests branch April 30, 2025 10:16
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.

2 participants