做了一个接口对接的数据传输,对方需要的是json数据
但是返回错误
"JSON parse error: Cannot deserialize instance of java.util.ArrayList
out of VALUE_STRING token; nested exception is com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize instance of java.util.ArrayList
out of VALUE_STRING token
at [Source: (PushbackInputStream); line: 1, column: 335] (through reference chain: com.crmsc.ecc.api.oauth2.domain.feign.product.SpuSyncReqVo["product"]->com.crmsc.ecc.api.oauth2.domain.feign.product.Product["thirdSkus"])"
thirdSkus数组里面有一个数组也需要json 这个可以成功
但是thirdSkus不成功 报错。
https://img2020.cnblogs.com/blog/1084044/202009/1084044-20200903171846578-1612164427.png