JSON parse error: Cannot deserialize instance of `java.lang.Long` out of START_ARRAY token;

JSON parse error: Cannot deserialize instance of java.lang.Long out of START_ARRAY token; nested exception is com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize instance of java.lang.Long out of START_ARRAY token at [Source: (PushbackInputStream); line: 1, column: 323] (through reference chain: com.jcgl.api.admin.user.domian.vo.UserUpdateVo[“deptId”])

传入的值不对,传入的值类型不是json类型,前端传与后端值的类型,不一样,无法解析

上一篇:C# XML 序列化帮助类


下一篇:leetcode 297. Serialize and Deserialize Binary Tree