How to map json array to java object using gson

后端 未结 0 589
悲&欢浪女
悲&欢浪女 2021-01-21 01:39

I want to deserialize json array:

["apple", 3.14]

to java object:

class Good {
   public String name;  // should be &quo         


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