Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Serialization
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===C and C++=== [[C (programming language)|C]] and [[C++]] do not provide serialization as any sort of high-level construct, but both languages support writing any of the built-in [[C data types|data types]], as well as [[plain old data]] [[struct (C programming language)|structs]], as binary data. As such, it is usually trivial to write custom serialization functions. Moreover, compiler-based solutions, such as the ODB [[object–relational mapping|ORM]] system for C++ and the [[gSOAP]] toolkit for C and C++, are capable of automatically producing serialization code with few or no modifications to class declarations. Other popular serialization frameworks are Boost.Serialization<ref>{{cite web|url=http://www.boost.org/doc/libs/1_46_1/libs/serialization/doc/index.html|title=Serialization|website=www.boost.org}}</ref> from the [[Boost C++ Libraries|Boost Framework]], the S11n framework,<ref>{{cite web|url=http://s11n.net/|title=s11n.net: object serialization/persistence in C++|first=stephan|last=beal|website=s11n.net}}</ref> and Cereal.<ref>{{cite web|url=https://uscilab.github.io/cereal/|title=cereal Docs - Main|website=uscilab.github.io}}</ref> [[Microsoft Foundation Class Library|MFC framework]] (Microsoft) also provides serialization methodology as part of its Document-View architecture.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)