报错名称 com.alibaba.fastjson.JSONException: autoType is not support. com.avos.avoscloud.AVObject
发生场景 从本地文件读取String字符串转成AVObject对象时,AVObject dataObject = AVObject.parseAVObject(json);发生报错
文件流内容 {2019-10-17={ "@type":"com.avos.avoscloud.AVObject","objectId":"","updatedAt":null,"createdAt":null,"className":"DayData","serverData":{"@type":"java.util.concurrent.ConcurrentHashMap"},"operationQueue":{"@type":"java.util.concurrent.ConcurrentHashMap","date":{"@type":"com.avos.avoscloud.ops.SetOp","key":"date","type":"Set","values":new Date(1571309394555)},"month":{"@type":"com.avos.avoscloud.ops.SetOp","key":"month","type":"Set","values":10},"year":{"@type":"com.avos.avoscloud.ops.SetOp","key":"year","type":"Set","values":2019},"breakfast":{"@type":"com.avos.avoscloud.ops.SetOp","key":"breakfast","type":"Set","values":[{"@type":"java.util.HashMap","calory":135,"amount":1.5D,"carbohydrate":6,"object_id":"513486658473541","fat":4,"name":"苹果","unit":"个","protein":5,"is_custom":false},{"@type":"java.util.HashMap","calory":135,"amount":2.5D,"carbohydrate":7,"object_id":"513486658473541","fat":5,"name":"苹果","unit":"个","protein":6,"is_custom":false},{"@type":"java.util.HashMap","calory":135,"amount":3.5D,"carbohydrate":8,"object_id":"513486658473541","fat":6,"name":"苹果","unit":"个","protein":7,"is_custom":false},{"@type":"java.util.HashMap","calory":135,"amount":4.5D,"carbohydrate":9,"object_id":"513486658473541","fat":7,"name":"苹果","unit":"个","protein":8,"is_custom":false},{"@type":"java.util.HashMap","calory":135,"amount":5.5D,"carbohydrate":10,"object_id":"513486658473541","fat":8,"name":"苹果","unit":"个","protein":9,"is_custom":false},{"@type":"java.util.HashMap","calory":135,"amount":6.5D,"carbohydrate":11,"object_id":"513486658473541","fat":9,"name":"苹果","unit":"个","protein":10,"is_custom":false}]},"day":{"@type":"com.avos.avoscloud.ops.SetOp","key":"day","type":"Set","values":17}}}}
使用的fastjson为1.2.37,是leancloud依赖自动拉取的fastjson包
貌似是fastjson升级到1.2.25之后引发的报错,希望能给出解决方案