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

Exception when property unknown #41

Open
LearningProcesss opened this issue Jun 27, 2022 · 2 comments
Open

Exception when property unknown #41

LearningProcesss opened this issue Jun 27, 2022 · 2 comments

Comments

@LearningProcesss
Copy link

Hi,

is there a way to disable\mitigate exception throwing when an unknown property comes in?

Thank you.

@LearningProcesss LearningProcesss changed the title Exception when unknown property Exception when property unknown Jun 28, 2022
@LearningProcesss
Copy link
Author

Hey @pichillilorenzo ,
after a year, is there any chance to have a response?

@darekkay
Copy link

The behavior can be controlled via deserialization options:

parser.defaultContext.features.deserialization.FAIL_ON_UNKNOWN_PROPERTIES = false;

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

No branches or pull requests

2 participants