You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MqManager.ConfigItem(handleTimeout=PT10S, name=li4)
Exception in thread "main" com.alibaba.fastjson2.JSONException: expect ':', but 44, offset 67, character ", line 1, column 68, fastjson-version 2.0.32 {"handleTimeout":{"nano":0,"negative":false,"seconds":10,"units":["SECONDS","NANOS"],"zero":false},"name":"li4"}
at com.alibaba.fastjson2.JSONReaderUTF8.readFieldNameHashCode(JSONReaderUTF8.java:872)
at com.alibaba.fastjson2.reader.ObjectReaderInterface.readObject(ObjectReaderInterface.java:140)
at com.alibaba.fastjson2.reader.ObjectReaderImplList.readObject(ObjectReaderImplList.java:561)
at com.alibaba.fastjson2.reader.FieldReaderCollectionMethodReadOnly.readFieldValue(FieldReaderCollectionMethodReadOnly.java:112)
at com.alibaba.fastjson2.reader.ObjectReader1.readObject(ObjectReader1.java:275)
at com.alibaba.fastjson2.reader.ORG_1_2_ConfigItem.readObject(Unknown Source)
at com.alibaba.fastjson2.JSON.parseObject(JSON.java:1307)
The text was updated successfully, but these errors were encountered:
问题描述
Duration属性对象序列化后,反序列化异常
环境信息
请填写以下信息:
重现步骤
如何操作可以重现该问题:
JSON.parseObject
方法期待的正确结果
能正常clone
相关日志输出
The text was updated successfully, but these errors were encountered: