2 ms·
Although actually, for streaming maybe it would still be 2 lines but from jsontext.. dec := jsontext.NewDecoder(in) json.UnmarshalDecode(in, &bob)
by dematz 1y ago
Although actually, for streaming maybe it would still be 2 lines but from jsontext..
dec := jsontext.NewDecoder(in)
json.UnmarshalDecode(in, &bob)