XmlToObject Tutorial

Basic Serialization
This page explains the simplest scenario when you don't want to control the Xml structure and simply want to serialize/deserialize object.

Controlling Xml Structure: Elements and Attributes
This page explains how you control in which Xml elements/attributes your values are stored (or retrieved from).

Controlling Xml Structure: Advanced Options
This page explains additional options to control the structure of the generated Xml.

Type Conversion: Formats and Format Providers
This page explains how you provide a serialization formats and format providers for numbers, DateTime values and Guids.

Type Conversion: IValueConvertor
This page explains how you can override a default conversion of the class member value to a string and back.

Serializing Enums and Flags
This page explains options you have when serializing enums and flags.

Serializing Arrays
This page explains options you have when serializing arrays.

Serializing Generic Collections
This page explains options you have when serializing generic collections like List<T>.

Strong Type Support
This page explains how to force serializer to emit information about types into the Xml allowing deserializtion of objects with fields/properties that are declared using base types or interfaces.

Versioning
This page explains how you can maintain different versions of Xml with the same class

.

Last edited Nov 15, 2012 at 10:49 PM by artemkv, version 16

Comments

No comments yet.