Record a problem redis use

Redis encountered a problem in the work, when the stored value of the map to convert json storage, stored data { "name": "vx", "age", "12"}, {taken out of the data becomes " name ":" vx "," age "," 12 "}," 12 "} similar data. Lead to subsequent processes to take data

map conversion error, resulting in the entire process go elsewhere. In the online search related articles I have not seen similar problems. So we recorded.

The problem is not always occur, else can, except this process happen. I could not find a solution. Record what God can have a big future under advice.

But the code also inclusive form of this error, and then cut off the excess directly to the conversion. But I do not know why the cause of the error is very tangled ·······················

Guess you like

Origin www.cnblogs.com/xuyd1108/p/11460110.html