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

前端 未结 0 1086
别那么骄傲
别那么骄傲 2021-02-16 00:33

I have a JSON with an array of values:

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

I want to dec

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