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

ignore unknown JSON object upon deserialization #2418

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

dlohmeier
Copy link
Collaborator

for json deserialization, it is now possible to ignore objects whose model is unknown (no code found in code base), so that they are just stored as a dict in the network -> this way, a JSON serialized network can be loaded anyway without raising an exception

…model is unknown (no code found in code base), so that they are just stored as a dict in the network -> this way, a JSON serialized network can be loaded anyway without raising an exception
@vogt31337
Copy link
Contributor

@dlohmeier can you also add a description into the Changelog and can you add a test which demonstrates / tests your improvement? Thanks!

@dlohmeier
Copy link
Collaborator Author

@vogt31337 changelog entries and test are added. Is it normal that the tests mostly fail atm?

@vogt31337
Copy link
Contributor

No, thats new. Seems to be sth. with Pandapipes

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