|
|
|
|
|
by chii
1613 days ago
|
|
the `<Book>` generic type doesn't translate to anything at run time, so you cannot actually parse the json out as a book class, unless you already knew it was going to be a Book. The parse() method cannot be generic over all possible inputs as is - unless the user also pass in the `Book.class` parameter! |
|
Not saying that's a good idea, though.