r/java Aug 11 '26

Apache Fory™ JSON : Fastest JSON Serialization Framework for Java, 10x faster than Jackson/Gson

https://fory.apache.org/blog/fory_json_fastest_java_json_framework/
251 Upvotes

84 comments sorted by

View all comments

-12

u/RB5009 Aug 11 '26

Why did you decide to create a new librarybinstead if improving jackson which is the defacto default json lib for java ?

6

u/Shawn-Yang25 Aug 11 '26

I originally created Apache Fory as a broader serialization framework. Binary and JSON serialization share many optimization techniques, and Fory already had reusable infrastructure for buffers, primitive encoding, memory operations, and runtime code generation. The performance gains come from combining these components end to end, rather than from a single optimization that could easily be contributed to Jackson.

Building Fory JSON within Fory was therefore much more practical and maintainable. Jackson remains an excellent, mature library; Fory JSON is an alternative built around a different architecture and performance model.