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”,原因是在数据映射过程中,数据类型不兼容以致于在相互转化时出错,解决该问题需要将参数用[]括起来,例如:

posted @ 2021-06-21 09:41  还可入梦  阅读(12957)  评论(0编辑  收藏  举报