关于 redis 报错 :JsonParseException: Unrecognized token 'xxx': was expecting ('true', 'false' or 'null')

在使用java  读取redis存储的数据时出现 JsonParseException: Unrecognized token 'xiaoqiang': was expecting ('true', 'false' or 'null') 的错误 根据描述可以猜到,返回的数据格式和接收返回结果的格式不同。大概是说返回的 xiaoqiang 正确的样子应该是 true 或者 false 或者 null
相关文章
相关标签/搜索