News for hackers. Stuff that matters.
Re:Map[string]interface{} in Go: a user's manual by sigmonsays on Monday July 26, 2021 @04:12PM (#27964776)
depending on what you're trying to do a map[string]interface{} is not really want you want. Most likely you want map[string]json.RawMessage if the key can indicate what the next step is in umarshalling.

if the serialized structure doesn't indicate its "Type" somewhere/somehow then you would have to resort to map[string]interface{}

There are no comments on this comment yet.