更新时间:2022-06-25 09:34:15
好吧我觉得我找到了一个可以接受的解决方案,虽然我不知道它是多么优化
Okay I think I found an acceptable solution, although I do not know how optimal it is
List<Book> items = new JSONDeserializer<Map<String,List<Book>>>().
use("values.values", Book.class).deserialize(json, Map.class).get("books");
会产生一系列图书。如果有人可能有更正确的解决方案,请随时发表评论。
Will result in a list of books. If anyone maybe have a more "proper" solution feel free to comment.