[QUESTION] toJSONString
序列化时默认忽略 private
字段,有没有办法不忽略?
#3287
Labels
question
Further information is requested
toJSONString
序列化时默认忽略 private
字段,有没有办法不忽略?
#3287
现在我有这样一个类:
当我使用
Test(1, 2).toJSONString()
序列化类时,a
会被忽略。默认忽略
private
我认为没有什么问题,但是在主动标注JSONField
后是否应该优先使用JSONField
中的设置?目前版本是否有办法绕过
private
检查?The text was updated successfully, but these errors were encountered: