Spring Fory integrates Apache Fory JSON with Spring MVC and WebFlux for efficient HTTP request/response serialization, using thread-safe byte-level APIs. The guide demonstrates configuration for Spring Boot 4 and 3.5, dependency setup, and building a sample order API with standard @RequestBody and controller patterns.
Apache Fory JSON is a high-performance JSON serialization library for Kotlin/JVM that supports data classes, value classes, and sealed hierarchies while preserving constructor defaults and nullability. It achieves 2.78×–12.12× higher throughput than kotlinx.serialization, Moshi, and Jackson Kotlin by combining Kotlin metadata resolution with a dedicated JSON engine.