Closed lordplagus02 closed 8 years ago
This code doesn't compile:
String json = "..."; Moshi.Builder builder = new Moshi.Builder(); builder.add(ResourceAdapterFactory.builder() .add(Article.class) .add(Person.class) .add(Comment.class) .build()); Article[] articles = moshi.adapter(Articles[].class).fromJson(json);
The readme needs a proper explanation of how to set up the adapter for version 2.x because due to all the breaking changes, it no longer makes sense.
Thanks. I've updated the documentation. Is it clear enough now?
This code doesn't compile:
The readme needs a proper explanation of how to set up the adapter for version 2.x because due to all the breaking changes, it no longer makes sense.