Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When unmarshaling objects to map[string]interface{}, map values will be of the type map[interface{}]interface{}. This is problematic when attempting to marshal the object out to JSON, since encoding/json only supports string keys. This change is a patch to cause all child maps to have string-typed keys.
- Loading branch information
85482c8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just wanted to say thanks for this as I cherry-picked it into my fork ashald@20b2b74 😊