title: Introduction sidebar_position: 0 id: index license: | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Binary Object Serialization reconstructs object graphs, including registered application types, collections, polymorphic values, and optional shared references.
| Mode | Use it when | Start here |
|---|---|---|
| Xlang (default) | Bytes cross language boundaries | Xlang Serialization |
| Native | Every writer and reader uses one Fory implementation family | Native serialization |
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.
Read these pages before choosing the Fory API for a language:
Choose a language to find its installation route, lifecycle, exact APIs, configuration, type registration, schema behavior, extensions, platforms, and troubleshooting:
| Language | Modes | Documentation |
|---|---|---|
| Java | xlang and native | Java guide |
| Python | xlang and native | Python guide |
| C++ | xlang and native | C++ guide |
| Go | xlang and native | Go guide |
| Rust | xlang and native | Rust guide |
| JavaScript/TypeScript | xlang | JavaScript/TypeScript guide |
| C# | xlang | C# guide |
| Swift | xlang | Swift guide |
| Dart | xlang | Dart guide |
| Scala | xlang and JVM native | Scala guide |
| Kotlin | xlang and JVM native | Kotlin guide |