详细报错
JSON parse error: Cannot deserialize value of type java.lang.String
from Array value (token JsonToken.START_ARRAY
); nested exception is com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize value of type java.lang.String
from Array value (token JsonToken.START_ARRAY
)
at [Source: (PushbackInputStream); line: 47, column: 35] (
原因:JSON数据,“xxxx” 的值应该是一个数组,但解析器期望它是一个字符串类型。您需要检查并确保 “fieldValue” 的值与期望的类型相符。
来源地址:https://blog.csdn.net/a203206868/article/details/131536325