Chapter 22. Working with XML, JSON, RSS, and Atom
This chapter covers
- Parsing XML
- Parsing JSON
- Working with RSS and Atom feeds
With the prevalence of autogenerated proxies created for Soap services, you’ll be forgiven for considering data serialization and deserialization a magic black box that’s handled for you automatically. You make a call to a service, and you get back a .NET object with the properties all filled out.
But we all know there are several steps that happen to get the data into that usable format. If you’re working with strongly typed objects from web services, with automatic serialization, you may not need to concern yourself with those steps. If you need to work with raw data, or data that’s inconvenient to receive as a known set of objects, you must know how to work with the underlying representation.