作者:UJXo小妖春日望美 | 来源:互联网 | 2023-09-09 18:50
有这样一组json
{"name":"name1","value":1,"time":2016-4-20}
{"name":"name2","value":3,"time":2016-4-21}
{"name":"name3","value":3,"time":2016-4-22}
{"name":"name1","value":20,"time":2016-4-22}
{"name":"name2","value":15,"time":2016-4-23}
.............
类似这种数据key-value的数据
但是有个特点,key不变是name、vlaue、time三个字段
value不断发生改变,且value可以重复,类似name1
这种数据如何在redis中进行存储?