flat
flat copied to clipboard
Flatten/unflatten nested map or JSON object in Golang
If safe flag sets true in unflatten options, use old ways to unflatten Close https://github.com/nqd/flat/issues/7
Hello, I am looking for a pkg that allows flattening a nested struct to `map[string]string` so I can save it to a string based text file or KV store. I...
When unflattening something like ```golang map[string]interface{}{ "pew.0": "woop", } ``` The result is ```golang map[pew:map[0:woop]] ``` or as a type `map[string]map[string]interface{}` What I would expect is to be the result...