Skip to content
Yet Another XML Serialization Library for the .NET Framework
Branch: master
Clone or download
Pull request Compare This branch is 245 commits behind sinairv:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Bin
DemoApplication
Doc
Key
YAXLib
YAXLibTests
.gitignore
ChangeLog.txt
Copying.txt
GenRelBins.ps1
LocalTestRun.testrunconfig
ReadMe.md
YAXLib.2008.sln
YAXLib.sln
YAXLib.vsmdi

ReadMe.md

YAXLib: Yet Another XML Serialization Library for the .NET Framework

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

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 (also known as polymorphic serialization).
  • 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

Contact

YAXLib is hosted on both Github and CodePlex. Feel free to discuss about and fork it on either of these sites that you prefer.

Sina Iravanian: sina@sinairv.com

Homepage: www.sinairv.com

Github: github.com/sinairv

Twitter: @sinairv

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.