mirror of
https://github.com/fankes/moshi.git
synced 2025-10-19 07:59:21 +08:00
Merge pull request #219 from serj-lotutovici/sl/to_string
Make ArrayJsonAdapter implement toString().
This commit is contained in:
@@ -69,4 +69,8 @@ final class ArrayJsonAdapter extends JsonAdapter<Object> {
|
||||
}
|
||||
writer.endArray();
|
||||
}
|
||||
|
||||
@Override public String toString() {
|
||||
return elementAdapter + ".array()";
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user