Andrew Sinclair - 338 - Dec 20, 2013

I am using IRedisTypedClient. When I use it to add a string to Redis which contains double quotes the quotes are stripped off when I read the value.

For example I set:

“Abc”,"xyz"

It is then stored correctly in Redis, ie with the quotes, however when I use Get, it returns:

Abc,xyz

Is there an option/setting I can set to preserve the quotes on the Get?

Thanks

If you’re just storing a string you’d want to use the string IRedisClient APIs and not the IRedisTypedClient APIs. If it’s still an issue can you post the sample code you’re using.