I have array of bytes in golang:
obj_data, _ := json.Marshal(obj)
And a want set this array of bytes into json.RawMessage I thought that it would work:
data := json.RawMessage{obj_data}
but i have error:
cannot use obj_data (type []byte) as type byte in array element
please help me! =)