阅读背景:

GSON:将JSON数据键入Java类,其中类名存储在字符串中

来源:互联网 

I'm using Google's GSON Library to convert JSON data to Java objects. The issue is that class name of the Java objet is being passed in the JSON data as well, so it is available only as a string. I'm not too familiar with Java so I don't understand how to declare an object when the class name is stored as a string. Library to convert JSON




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: