Object serialization

The O3DE engine offers of object serialization to persist objects between sessions, transmit them between clients, or work with objects between the editor and the engine. The JSON-based serialization system is designed to be human-readable and -editable, while the XML system is used by many existing O3DE tools. O3DE also offers binary serialization, used internally by the Asset Processor.

In this section of the documentation you’ll learn how to register classes and enums for serialization, and how to work with JSON serializers. For more information on XML serialization for use with O3DE tools, see Serialization Context and Reflecting a Component for Serialization and Editing .

Copyright © 2022 Open 3D Engine Contributors

Documentation Distributed under CC BY 4.0.
For our trademark, privacy and antitrust policies, code of conduct, and terms of use, please click the applicable link below or see https://www.lfprojects.org.

The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our Trademark Policy page.