I am pickling a dictionary of objects.
After I unpickle, what I get looks like:
{u'books': {u'The Folk Of The Fringe': {u'py/object': u'__main__.book', u'name': u'The Folk Of The Fringe', u'read': u'0', u'notes': u'', u'grade': u'\n', u'purchased': u'1/6/1996 0:00:00', u'authors': [u'Card Orson Scott'], u'id': 275},
u'Ghost': {u'py/object': u'__main__.book', u'name': u'Ghost', u'read': u'1', u'notes': u'', u'grade': u'\n', u'purchased': u'1/6/1996 0:00:00', u'authors': [u'Anthony Piers'], u'id': 276},
u'Rocheworld': {u'py/object': u'__main__.book', u'name': u'Rocheworld', u'read': u'1', u'notes': u'', u'grade': u'"5"\n', u'purchased': u'1/6/1996 0:00:00', u'authors': [u'Forward Robert L.'], u'id': 274},
u'All Flesh Is Grass': {u'py/object': u'__main__.book', u'name': u'All Flesh Is Grass', u'read': u'0', u'notes': u'', u'grade': u'\n', u'purchased': u'1/6/1996 0:00:00', u'authors': [u'Simak Clifford D.'], u'id': 277}}}
The unpickling does not generate instantiated objects.
Is it supposed to? or am I missing something.
If I have to instantiate the objects myself, what good is the "object info" in the pickled stream? I know what the data is anyway?
Thanks,
Dan
You received this message because you are subscribed to the Google Groups "jsonpickle" group.
.
.