用FastJson序列化时配置了EnumAsJavaBean 序列化结果如下
{"id":"1","isAlreadyDead":{"code":"0","value":"否"},"isDeleted":{"code":"0","value":"否"},"messageBody":"1","messageDataType":{"code":"0","desc":"JSON"},"messageId":"1","messageSendTimes":0,"queueName":"TEST","status":{"code":"0","desc":"待确认"}} isAlreadyDead在Java对象中就是一个枚举属性 请问这样的json字符串能用fastjson反序列化回去吗?
1条答案
按热度按时间elcex8rz1#
不可以