How to decode an array of values whose types depend on a tag?

前端 未结 0 503
伪装坚强ぢ
伪装坚强ぢ 2021-02-16 00:34

I have a JSON with an array of values:

[
    { \"tag\": \"Foo\", … },
    { \"tag\": \"Bar\", … },
    { \"tag\": \"Baz\", … },
]

I want to dec

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