Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


SEO Metadata
composedTitleHow to serialize with xsd2code++.
keywordsxsd2code++ XML JSON BSON serialization serialize deserialize savetoxml loadfromxml
titleSerialization

.NET framework offers many serializer. Cet artible débit comment les utiliser au travers du code généré par xsd2code++

Introduction

The .NET framework offers many serializer, namely, binary serialization and XML serialization and JavaScriptSerializer. Binary serialization preserves the state of the object between different invocations of an application by preserving type fidelity. XML serialization uses XML as an open standard to serialize only the public properties and fields. It does not preserve type fidelity but provides support for serialization in human-readable, cross-platform XML. The framework provides many options to customize the serialization process to meet application requirements.

...

XML Serialization

JSon Serialization

MsgPack MessagePack serialization

BSon serialization

Lorsque la sérialisation est activé, chacune des classes contient les méthodes de sérialization, tel que :

...