跳到主要内容
版本:dev

Object Serialization

Binary Object Serialization reconstructs object graphs, including registered application types, collections, polymorphic values, and optional shared references.

Choose a mode

ModeUse it whenStart here
XlangBytes cross runtime boundariesXlang mode
NativeEvery writer and reader uses the same runtime familyNative mode

Xlang and native are the only object-serialization modes. Row Format is a random-access analytical representation, and Fory JSON is a Java JSON codec; use the format chooser when object reconstruction is not your goal.

Browse by runtime

Choose a runtime to find its installation route, lifecycle, exact APIs, configuration, type registration, schema behavior, extensions, platforms, and troubleshooting:

Browse supported runtimes

Security

Before decoding externally supplied bytes, read Object Serialization Security. It covers accepted-type policy, registration, resource limits, transport responsibilities, and negative verification for both modes.

Specifications