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

Change raise AttributeError(k) to None #26

Open
betolink opened this issue Mar 25, 2015 · 1 comment
Open

Change raise AttributeError(k) to None #26

betolink opened this issue Mar 25, 2015 · 1 comment
Assignees

Comments

@betolink
Copy link

Sometimes is useful to keep parsing a large json object even when some properties are not present right now any key that's not found rises an error. My suggestion is that we could have an optional init parameter to define if we want strict rules or just returning None in case the key is not present.

@dsc
Copy link
Owner

dsc commented Oct 19, 2024

Ooof. Can you be more specific with a test-case?

@dsc dsc self-assigned this Oct 19, 2024
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