fastjson Disable SortField but not effect

k4aesqcs  于 2021-11-27  发布在  Java
关注(0)|答案(1)|浏览(271)

i use this to disable SortField:
JSON.DEFAULT_GENERATE_FEATURE = JSON.DEFAULT_GENERATE_FEATURE & ~SerializerFeature.SortField.getMask();
but it seems not be effect, does this flag used when serializing ?

相关问题