i did this
configBytes, err := j.Set(configByte, []byte("http://github.com"), "test")
then the json is
"test":http://github.com,
i try a int like configBytes, err := j.Set(configByte, []byte("2"), "test")
then it works "test":2, because it's' ok
finally i try this
configBytes, err := j.Set(configByte, []byte("\"http://github.com\""), "test")
then it works~
but i feel it's not cool and not frendly to noob,right?
i did this
configBytes, err := j.Set(configByte, []byte("http://github.com"), "test")then the json is
"test":http://github.com,i try a int like
configBytes, err := j.Set(configByte, []byte("2"), "test")then it works
"test":2,because it's' okfinally i try this
configBytes, err := j.Set(configByte, []byte("\"http://github.com\""), "test")then it works~
but i feel it's not cool and not frendly to noob,right?