有這樣一組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中進行儲存?
封裝成一個list,然後hset