Json set / get issue
YatharthGupta opened this issue · comments
When set the data with json with below , unable to serialize it , its adding [ to contact and giving error during get.So actually the Json is getting Set in wrong format.
List people = new List()
{
new Person(1, "Joe", new List()
{
new Contact("1", "123456789"),
new Contact("2", "234567890")
} )
};
Can someone set and get above data with this version properly or fix this issue ASAP ?
This should be a problem with your serialization tool, and should have nothing to do with redis. If you use spring, you can configure your RedisTemplate