Is it possible to unmarshal JSON response when you only know half of the key name?
Example:
data := []byte(`[{"animal_name": "Goofy", "location": "Europe"}, {"person_name": "Gigo", "location": "Asia"}]`)
In this case, there are two possibilities, key name starts with some sort of an identifier (animal, person) and always ends with _key. There can be more (random) identifiers.
In python, you could try to retrieve the key value with endswith or something like that. But is possible to do so in go?