Skip to content

Update json_v2 parser to handle null types#9368

Merged
reimda merged 3 commits intoinfluxdata:masterfrom
sspaink:jsonparsernull
Jun 15, 2021
Merged

Update json_v2 parser to handle null types#9368
reimda merged 3 commits intoinfluxdata:masterfrom
sspaink:jsonparsernull

Conversation

@sspaink
Copy link
Copy Markdown
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
Copy Markdown
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