Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我不确定还有什么要说的。我试过删除和添加类,但这似乎没有帮助。我以前没有遇到过这个问题,所以我真的不知道该怎么办。
其他 gson 对象工作正常。这只是反序列化器。
JsonDeserializer可以在 com.google.gson.JsonDeserializer 中找到,并且Gson jar 应该在您的类路径中。