Open lxyhust2018 opened 2 years ago
Hi, it seems that my code running well when i tried this :
number, _ := sjson.Set(`{"number": 23}`, "23", "number")
println(number)
//result : {"number": 23,"23":"number"}
you need to change res input to another string. Your res input is not yet declared
the code is like this,it will hold till time out. val := "val" key := "123" res,_ := sjson.Set(res,key,val)