Skip to content

Conversation

tcriess
Copy link

@tcriess tcriess commented May 21, 2021

Quick fix for a panic if a map contains a nil value (such as map[string]interface{}{"a": nil}), nils are converted to 0/empty string. I've also added some nil values to the test. It is quite possible that the code still panics for nested maps, i have not tested that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant