You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yep... according to the commit messages it @JakeWharton fixed it after. But you can use the 1.0.0-SNAPSHOT. I'm not using it in production yet, but it works quite well in a development branch.
Specifically how do you get an adapter for this type of structure?
Quasi code for reference:
String json = "[
{ "name" : "foo" },
{ "name" : "bar"}
]";
public class Name {
public final String name;
...
}
Moshi moshi = new Moshi.Builder().build().
JsonAdapter<???> adapter = moshi.adapter(??)
List names = adapter.fromJson(json);
The text was updated successfully, but these errors were encountered: