News for hackers. Stuff that matters.
Re:Go’s Features of Last Resort by stevelosh on Friday November 22, 2019 @03:01PM (#21609457)
> Handling large arbitrary JSON objects where I need to operate on their keys but don't need to work with their values by unmarshaling to map[string]interface{}.

If you just need the keys, you should unmarshal to `map[string]json.RawMessage` to avoid the overhead of parsing the values into objects only to throw them away without ever using them.

There are no comments on this comment yet.