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

Fix error triggered by 'consume leading class discriminator' polymorphic parsing optimization #2362

Merged
merged 1 commit into from
Jul 14, 2023

Conversation

sandwwraith
Copy link
Member

In case of an empty object, no exception should be thrown, it should be treated as missing class discriminator. peekString() correctly handles this case.

Also fixes misplaced calls in lenient vs non-lenient mode.

Fixes #2353

…hic parsing optimization:

In case of an empty object, no exception should be thrown, it should be treated as missing class discriminator.
peekString() correctly handles this case.

Also fixes misplaced calls in lenient vs non-lenient mode.

Fixes #2353
@sandwwraith sandwwraith merged commit 3191884 into dev Jul 14, 2023
@sandwwraith sandwwraith deleted the fix-2353 branch July 14, 2023 12:59
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