Answer the question
In order to leave comments, you need to log in
How to edit json using golang?
Hello.
Please suggest how I could edit the Json file with the following structure:
{
"data": {},
"file_system": {},
"security": {},
"specifications": {},
"storage": {
"0": "cache"
},
"SYSTEM": {
"0": "hvom"
},
"web": {
"0": "websocket",
"1": "router"
}
}
map[string]map[int]string
Answer the question
In order to leave comments, you need to log in
https://golang.org/pkg/encoding/json/Marshal/Unmarshal
_
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question