Can not deserialize instance of out of START_OBJECT token

时间:2025-02-14 08:30:18
: Could not read JSON: Can not deserialize instance of out of START_OBJECT token

 at [Source: @42b0f150; line: 1, column: 112] (through reference chain: ["list"]->["publishTime"]); 

nested exception is : Can not deserialize instance of out of START_OBJECT token

 at [Source: @42b0f150; line: 1, column: 112] (through reference chain: ["list"]->["publishTime"])


遇到这样的错误,主要是服务器数据和客户端数据类型不一致,如我这里遇到的publishTime数据类型,服务器是date型,而我客户端数据是String型,就会导致这样的错误,调成一致就好了。