fastjson2
fastjson2 copied to clipboard
[BUG]@JSONField格式化LocalDateTime的BUG
问题描述
使用@JSONType(serializeFeatures = {JSONWriter.Feature.WriteNonStringValueAsString, JSONWriter.Feature.WriteNullStringAsEmpty}) 导致@JSONField(format = "yyyy-MM-dd HH:mm:ss") 格式化LocalDateTime失效 输出为:2024-06-17T01:31:19.148327800 期望为:2024-06-17 01:31:19 FastJson2版本为:2.0.49