@wenshao 你好,想跟你请教个问题:
fastjson能否规避ConcurrentModificationException异常?
Caused by: java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:894)
at java.util.HashMap$KeyIterator.next(HashMap.java:928)
at com.alibaba.fastjson.serializer.CollectionSerializer.write(CollectionSerializer.java:68)
at com.alibaba.fastjson.serializer.JSONSerializer.write(JSONSerializer.java:369)
at com.alibaba.fastjson.JSON.toJSONString(JSON.java:520)
谢谢!