18 people following this project (follow)

Project Description
YAXLib is an XML Serialization library which helps you structure freely the XML result, choose among private and public fields to be serialized, and serialize all known collection classes and arrays (single-dimensional, multi-dimensional, and jagged arrays) in the .NET Framework.

See this article hosted on CodeProject to see how to use the library. The article is also found in the Doc folder: http://www.codeproject.com/Articles/34045/Yet-Another-XML-Serialization-Library-for-the-NET

GitHub: YAXLib is also hosted on GitHub, so feel free to fork the library either on CodePlex or GitHub. This is the address to YAXLib repository on GitHub:
https://github.com/sinairv/YAXLib 


Features

  • Allowing the programmer to format the XML result as desired.
  • Support for specifying path-like serialization addresses, e.g., elem1/elem2/elem3, and ../elem1, and ./elem1.
  • Serialization and deserialization of all known generic and non-generic collection classes in System.Collections, and System.Collections.Generic.
  • Support for serialization of single-dimensional, multi-dimensional, and jagged arrays.
  • Support for recursive serialization of collections (i.e., collection of collections).
  • Support for specifying aliases for enum members.
  • Support for defining user-defined custom serializer for specific types or specific fields.
  • Allowing the programmer to choose the fields to serialize (public, or non-public properties, or member variables).
  • Support for serialization and deserialization of objects through a reference to their base-class or interface.
  • Support for multi-stage deserialization.
  • Allowing the programmer to add comments for the elements in the XML result.
  • and more ...


See the accompanied demo application for an example of each functionality.

Nuget

To install YAXLib, run the following command in the Package Manager Console:
PM> Install-Package YAXLib

Last edited Today at 12:27 PM by sina_iravanian, version 9