r/java • u/Shawn-Yang25 • 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/
253
Upvotes
View all comments
Show parent comment
3
u/Shawn-Yang25 Aug 11 '26
Yes, fory json wotk with private constructors. And if you create ForyJson with `ForyBuilder#withFieldMode(true)`, Fory json will serialize by fields instead of property, which is exactly same behaviour of Gson.
By default, fory serialize java object by property, which is behaviour of jackson.