2017-07-03 00:23
浏览 236

Golang Unmarshal切片的int切片

How do you unmarshal a JSON into a slice of slices of ints? I keep on getting a blank struct:

Also is it possible to unmarshal something like [[1 2][3 4]] without a key e.g. {"key":[[1 2][3 4]]}?

图片转代码服务由CSDN问答提供 功能建议

  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

相关推荐 更多相似问题