title: Apache Fory Documentation 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

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Apache Fory is a multi-language serialization framework for binary object graphs, random-access rows, standard JSON, schema-driven models, and Fory-backed gRPC services.

Start here

  1. Read the Introduction and choose a format.
  2. Install Fory for the selected language from Getting Started.
  3. Review Benchmarks and their methodology for relevant performance evidence.
  4. Continue with the owning capability guide.

Capabilities

CapabilityUse it forDocumentation
Object SerializationReconstruct xlang or language-native object graphsObject Serialization
Row FormatRandom and partial access to trusted analytical dataRow Format
Fory JSONHigh-throughput standard JSON for Java, Kotlin, ScalaFory JSON
Fory IDL and compilerGenerate language-native models from a shared schemaCompiler
Fory gRPCGenerate gRPC companions that marshal Fory modelsFory gRPC

Language guides

Binary Object Serialization provides multi-page language guides for Java, Python, C++, Go, Rust, JavaScript/TypeScript, C#, Swift, Dart, Scala, and Kotlin.

Fory JSON has language guides for Kotlin and Scala in addition to its Java API documentation.

Reference and development