Suppose I have an struct like this in go:
type Message struct {
Args []interface{}
Kwargs map[string]interface{}
}
message := Message{
[]interface{}{1, 2, 3, 4},
map[string]interface{}{"a": 2, "b": 3},
}
How should I marshal message to have a JSON like this?
[[1,2,3,4], {"a": 2, "b":3}]