We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No description provided.
The text was updated successfully, but these errors were encountered:
我的Model是这样的:
@Table(name = "test") @Data public class Test extends Model{ private int id; private int flag; }
转Json是这样的:
Test test = new Test(); test.setId(199); test.setFlag(13); String s = new Gson().toJson(test);
错误如下:
java.lang.UnsupportedOperationException: Attempted to serialize java.lang.Class: com.robelf.appstore.model.Test. Forgot to register a type adapter?
这是什么原因呢,需要怎么设置才能使用呢?
Sorry, something went wrong.
e6a2693
这是继承导致的序列化问题,已经修复了,在 0.2.6 版本中正常。
0.2.6
hellokaton
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: