Closed
Description
Create to_dict function
With Python built-in methods and attributes for classes it is possible to automatically translate a custom class
to a Dict object, which can be subsequently used when serializing data.
Pitch
I Have implemented this feature in a non related project which relies on python in order to be
able to serialize my custom and nested classes in jsonl format.
I plan to add it to json module... Nonetheless I am open to suggestions/comments
Here is an example of this feature in action:
Here we convert an object to jsonl format and write it in disk.
This is an example of how the feature could be used