解决com.alibaba.fastjson.JSONException: autoType is not support

在出错的代码前添加

ParserConfig.getGlobalInstance().setAutoTypeSupport(true);