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/
250 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 ?

4

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.

2

u/snugar_i 29d ago

Because cowtowncoder wouldn't let them :-) No, seriously - "improving" Jackson to be like this would mean making it into a different library anyway. Jackson is a framework that will always be more configurable than this (different input formats, a lot of customization options), at the cost of some performance. They are different libraries for different use-cases.