Changeset 4:14b2a12d495e in mailjam for postman/storage.py
- Timestamp:
- May 15, 2012, 4:41:48 PM (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
postman/storage.py
r1 r4 21 21 Convert objects to a dictionary of their representation 22 22 Based on the exmplaes from Doyg Hellmann: 23 http://www.doughellmann.com/PyMOTW/json/#working-with-your-own-types 23 http://www.doughellmann.com/PyMOTW/json/#working-with-your-own-types 24 24 """ 25 25 jobj = { '__class__':obj.__class__.__name__,
Note:
See TracChangeset
for help on using the changeset viewer.