It means sometimes you'll get:
{ foo: { bar: "baz" }}
and other times you'll get { foo: "something else" }
Good luck! { foo: { bar: "baz" }}
and other times you'll get { foo: "something else" }
Good luck! var data map[string]interface{}
//..
switch t := data["foo"].(type) {
case string:
case interface{}
}
imagine that for every key...Many Go advocates seem to consider the verbosity a feature, because it's explicit and forbids any clever-but-confusing tricks.
{ foo: { length: 1.7976931348623157e+308 } }