当前位置:网站首页>SerializationException: Could not read JSON: Unrecognized token “xxx“
SerializationException: Could not read JSON: Unrecognized token “xxx“
2022-07-22 09:17:00 【Flowers bloom without knowing you】
Unrecognized token “xxx”
What happened
org.springframework.data.redis.serializer.SerializationException: Could not read JSON: Unrecognized token
Set up a redis-cluster, Carry out simple set,get This problem occurred in the test , At first, nothing could be better than her sister …
The problem lies in get The data is not used java Of the form added , It is directly added in the command line
Be careful : there v1 No addition Double quotes
, But in Java The value added in the code , stay json When serializing, it defaults to Add double quotation marks around
, The inconsistency between the two , Led to Java Can't parse to make a v1
, This leads to problems , Verify this problem , You can simply modify
The problem was naturally solved
ps:
Of course , We usually don't operate data directly on the command line , If you have to operate , And need the same Java Operate together , Please remember to give all value add ''
边栏推荐
猜你喜欢
"Everything is interconnected, enabling thousands of industries", the 2022 open atom global open source summit openatom openharmony sub forum is about to open
MMDrawerController第一次加载侧边栏高度问题
Rewrite dispatchtouchevent to realize the function of playing picture lock
QT configuration opencv (II): successful
OpenGL画坐标轴指示图
JVM 简介
OpenGL drawing coordinate axis indicator
QT中配置OpenCV
Ctrip spark multi tenant query service evolution, Apache Kyuubi can be expected in the future
关于 vditor 发布 plaintext 语法问题
随机推荐
创建新节点的点击事件
xss白名单
并发编程-----------集合
SQL中的union关键字
拼写单词~
Seven parameters of thread pool
List 转字符串后去掉前后 [ ]
File lookup command
线程池七大参数
用unshift向对象数组中添加一个元素
win7下在安装Oracle10g时出现【安装检测到系统的主 IP 地址是 DHCP 分配的地址】的错误的解决办法
EasyCVR平台安全扫描提示Go pprof调试信息泄露的解决办法
MySQL多表查询
腾讯游戏 :我们如何基于 StarRocks 构建云原生数仓
Using OpenGL texture array to realize high-precision real-time LUT filter
SQL子查询
Seven ways to create thread pools
解决 arr containsObject 方法每次都返回NO的问题
Visual Studio的intellisense: '没有可用的成员'
QT配置OpenCV(二):成功