dfc3d8ce9d
BUG= R=rnystrom@google.com Review URL: https://codereview.chromium.org//110853011 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31302 260f80e4-7a28-3924-810f-c04153c831b5
21 lines
897 B
Markdown
21 lines
897 B
Markdown
Serialization
|
|
=============
|
|
|
|
A general-purpose serialization facility for Dart Objects.
|
|
|
|
This provides the ability to save and restore objects to pluggable
|
|
Formats using pluggable Rules.
|
|
These rules can use mirrors or be hard-coded. The main principle
|
|
is using only public APIs on the serialized objects, so changes to the
|
|
internal representation do not break previous serializations. It also handles
|
|
cycles, different representations, filling in known objects on the
|
|
receiving side, and other issues. It is not as much intended for
|
|
APIs using JSON to pass acyclic structures without class information,
|
|
and is fairly heavweight and expensive for doing that compared to simpler
|
|
approaches.
|
|
|
|
For more detailed descriptions and examples of use, see the comment on
|
|
the [serialization][serialization] library.
|
|
|
|
[serialization]: https://api.dartlang.org/docs/channels/stable/latest/serialization.html
|