-
Notifications
You must be signed in to change notification settings - Fork 15.5k
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
[7392] fix conformance test in PHP JSON parser #16743
base: main
Are you sure you want to change the base?
[7392] fix conformance test in PHP JSON parser #16743
Conversation
0498647
to
77bb25f
Compare
77bb25f
to
367aa3d
Compare
@antongrbin I can take a look |
@bshaffer thank you for the review offer && polite ping :) |
@bshaffer friendly ping :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is really the behavior we want? If an array/map is unknown, it throws an exception unless other valid values exist, at which point the unknown value is ignored?
That does not seem like intuitive behavior to me... what is the justification for this?
Motivation
This PR fixes failing JSON conformance tests for php with name
IgnoreUnknownEnumStringValue*
.The JSON parsing spec was discussed in #7392.
Recent similar changes in other languages: