Skip to content
This repository has been archived by the owner on Feb 20, 2021. It is now read-only.

Json set / get issue #633

Open
YatharthGupta opened this issue Oct 29, 2019 · 1 comment
Open

Json set / get issue #633

YatharthGupta opened this issue Oct 29, 2019 · 1 comment

Comments

@YatharthGupta
Copy link

YatharthGupta commented Oct 29, 2019

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 ?

@chengweng
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants