Loop through JSON keys and values and same time replacing specify matched value in golang
问题 Is there any way to loop all over keys and values of json and thereby confirming and replacing a specific value by matched path or matched compared key or value and simultaneously creating a new interface of out of the json after being confirmed with the key new value in Golang. This an example i saw that loops through all values https://play.golang.org/p/xtiT2iGocBg but i have no idea of replacing values by matched path or value 回答1: I finally succeeded in getting keys/values and can same