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

Update json_v2 parser to handle null types #9368

Merged
merged 3 commits into from
Jun 15, 2021

Conversation

sspaink
Copy link
Contributor

@sspaink sspaink commented Jun 14, 2021

resolves: #9352

Instead of throwing an error when encountering a null type in the input JSON, I've updated the parser to ignore it because they are valid types but there isn't anything we can do with it. This follows the same behavior as the original json parser.

@sspaink sspaink added area/json_v2 fix pr to fix corresponding bug labels Jun 15, 2021
@sspaink sspaink requested a review from reimda June 15, 2021 21:57
Copy link
Contributor

@reimda reimda left a comment

Choose a reason for hiding this comment

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

Looks good, thanks for adding so many good tests!

@reimda reimda merged commit daec104 into influxdata:master Jun 15, 2021
reimda pushed a commit that referenced this pull request Jun 17, 2021
@Hipska Hipska added the area/json json and json_v2 parser/serialiser related label Feb 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/json json and json_v2 parser/serialiser related fix pr to fix corresponding bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

json_v2 parser dealing with null data
3 participants