You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need a flattened json string to store all key values.
I want to combine multiple sources of data into one json file, then add corresponding prefix for each flattened key. for example, {"facebook.username": "abc", "facebook.userpost": 5, "twitter.username": "xyz", "twitter.userpost": 20, ...}.
Unflattern may help user to reconstruct the struct and ease to operate if unmarshal is needed.
Hi,
Nice library! Have you considered adding support for reversing, i.e. unflattening? If I slightly change the example in the README:
The text was updated successfully, but these errors were encountered: