You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
The text was updated successfully, but these errors were encountered:
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).
The text was updated successfully, but these errors were encountered: