redmoss
How to serialize part of an object with a guid but then deserialize later?
So when I serialize, I only serialize the
guid
and isFlagged
, because name never changes (it gets set when the objec tis constructed).
But upon deserializing, I don't know how to recreate the object because I'm missing the name info, so I can't fully reconstruct the object.
If I construct the objects then try to change isFlagged
on each one, I don't know which ones in my dictioanry correspond to the ones in my deserialized package8 replies
Nice ways to partially serialize and deserialize objects?
Ah, yeah, I see. So effectively I'd have a
Monster
class and a MonsterSerialize
that could be a flattened object (since the Monster
class may contain nested objects with only particular values I care about) and I use that as an intemediary7 replies