XML serialization and deserialization
XML serialization and deserialization
- Subject: XML serialization and deserialization
- From: "Oleg Krupnov" <email@hidden>
- Date: Thu, 24 Jul 2008 16:20:36 +0300
Hi,
I want to serialize and deserialize my objects to/from XML files.
NOTE: My object is not a dictionary, so I am not using the plist.
I have found NSXMLParser for event-driven parsing and I also found
NSXMLDocument for tree-based parsing.
However, I don't see anything to *serialize* my objects back to XML files.
I see there is NSXMLDocument's XMLData. Is it what I should be looking
at? Isn't there a better option? In particular, not tree-based
(analogous to NSXMLParser)?
I'd like to know the current best practices. I've searched through the
archives but haven't found any up-to-date recommendations. What is
modern and what is deprecated?
Thanks!
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden