Why switch type does not work for json unmarshal list?

前端 未结 0 1296
隐瞒了意图╮
隐瞒了意图╮ 2021-02-20 04:43

I have a program which tries to unmashal a json which can be either a string or list of array, however it cannot hit the switch type of string slice. Why is that? The following

相关标签:
回答
  • 消灭零回复
提交回复
热议问题