[]interface{} failed
sefgit opened this issue · comments
binary: unsupported type interface {}
binary.Marshal failed due to []interface{}
json.Marshall has no issue with it.
Yes, it won't work with interface{}
since the bytes don't actually carry the type information. If you absolutely need it, might want to check out msgpack
encoding (or similar).