in reply to Storable style de-serializing for JSON structures
As far as I understand the idea of JSON, it's supposed to be cross-language, and hence doesn't really have a concept of "classes". At least JSON does not want to serialize blessed objects by default, and I guess that there is no way to (de)serialize whole class trees. Maybe you can store the class name as a separate field for each object and upon deserialization rebless all elements?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Storable style de-serializing for JSON structures
by decebel (Acolyte) on Oct 11, 2009 at 14:32 UTC |