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

Enhance the dump() method #6

Closed
tcalmant opened this issue May 26, 2014 · 1 comment
Closed

Enhance the dump() method #6

tcalmant opened this issue May 26, 2014 · 1 comment

Comments

@tcalmant
Copy link
Owner

As shown in pull request #5, the jsonclass.dump() method can be easily enhanced to support more not-so-special cases.
The current (merged) version supports objects with dict and slots members, looking directly into them.

It might be more efficient to use a more generic approach, like using inspect.getmembers() to find all bean members (i.e. inherited ones too).

@tcalmant
Copy link
Owner Author

tcalmant commented Jun 5, 2014

Final version done in commit 810c418

@tcalmant tcalmant closed this as completed Jun 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant