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
com.alibaba.fastjson2.JSONException: expect ':', but }, offset 15, character ", line 1, column 16, fastjson-version 2.0.39 {"zoneOffset":"+08:00"}
at com.alibaba.fastjson2.JSONReaderUTF16.readFieldNameHashCode(JSONReaderUTF16.java:1618)
at com.alibaba.fastjson2.reader.ObjectReaderBean.readObject(ObjectReaderBean.java:266)
at com.alibaba.fastjson2.reader.ORG_1_9_Person.readObject(Unknown Source)
at com.alibaba.fastjson2.JSON.parseObject(JSON.java:726)
at org.example.JacksonTest.main(JacksonTest.java:52)
问题描述
简要描述您碰到的问题。
ZoneOffset 序列化之后的内容,再反序列化回去报错。
报错信息:
环境信息
重现步骤
如何操作可以重现该问题:
JSON.toJSONString()
方法JSON.parseObject(String text, Class<T> clazz)
中解析The text was updated successfully, but these errors were encountered: