Closed gavinliu closed 6 years ago
JsonAdapter.Factory jsonApiAdapterFactory = ResourceAdapterFactory.builder() .add(Comment.class)
解析未 add 的对象,就会解析不成功。
@JsonApi(type = "default") class Unknown extends Resource { // nothing... }
这个应该默认添加进去啊
有道理,可以在 Builder 上加一个开关。
JsonAdapter.Factory jsonApiAdapterFactory = ResourceAdapterFactory.builder() .add(Comment.class)
解析未 add 的对象,就会解析不成功。