zoukankan      html  css  js  c++  java
  • Cannot deserialize instance of `java.util.ArrayList<java.lang.Object>` out of VALUE_STRING token

    用postman测试接口给一个后端实体属性类型为List数组的参数传参,报错“Cannot deserialize instance of `java.util.ArrayList<java.lang.Object>` out of VALUE_STRING token”,原因是在数据映射过程中,数据类型不兼容以致于在相互转化时出错,解决该问题需要将参数用[]括起来,例如:

  • 相关阅读:
    bzoj1797
    bzoj1266
    bzoj1497
    bzoj1412
    bzoj3156
    JSOI2014第三轮总结
    bzoj1855
    bzoj1044
    codeforces 371D
    codeforces 371B
  • 原文地址:https://www.cnblogs.com/stilldream/p/14911325.html
Copyright © 2011-2022 走看看