Serialization and Deserialization
Serialization and deserialization are central to how POCO DataSet is used in modern applications. DataSets frequently travel between backend services and UI clients (such as Blazor) as JSON payloads.
The serialization model is intentionally simple: POCO objects with predictable structure, no hidden state, and explicit handling of interfaces and concrete types.
POCO DataSet is designed for clean JSON round-tripping. A DataSet serialized to JSON and then deserialized back preserves the essential information needed by application logic and UI: table structure, column metadata, and row values.
A core goal of POCO DataSet is to keep serialization predictable and free of legacy complexity. For that reason, the model avoids:
POCO DataSet does not require a specific JSON library. The core idea is the same regardless of serializer: serialize POCO objects, and use explicit converters where interface types must be reconstructed. In practice, this enables predictable behavior with common serializers (for example, System.Text.Json or Newtonsoft.Json) without coupling your application to a single approach.
The POCO DataSet core focuses on the data model. Serialization behavior is implemented through serializer-specific packages and converters. This keeps responsibilities clear:
Table of Content POCO DataSet Concepts
Business Process Programming in .Net
© 2004–2026 Laskarzhevsky Software Inc.
Unless otherwise noted, the content of this website is licensed under the
Creative Commons Attribution 4.0 International License (CC BY 4.0).
Code examples are provided under the MIT License.
You are free to share and adapt the material provided that appropriate
credit is given and any modifications are clearly indicated.
The information provided on this website is for educational purposes only.
The author and publisher make no warranties regarding the completeness
or suitability of the information and are not responsible for any damages
resulting from its use.