(content string)
| 255 | } |
| 256 | |
| 257 | func jsonToInterface(content string) (tmpMap interface{}, err error) { |
| 258 | |
| 259 | err = json.Unmarshal([]byte(content), &tmpMap) |
| 260 | return |
| 261 | |
| 262 | } |
| 263 | |
| 264 | func saveMapToJSONFile(file string, tmpMap interface{}) error { |
| 265 |