mirror of
https://github.com/fankes/moshi.git
synced 2025-10-19 07:59:21 +08:00
Merge pull request #353 from square/eric.20170925.unwrap-write
Fix not writing value to JsonWriter in example.
This commit is contained in:
@@ -88,7 +88,7 @@ final class Unwrap {
|
||||
}
|
||||
|
||||
@Override public void toJson(JsonWriter writer, Object value) throws IOException {
|
||||
delegate.toJson(new Envelope<>(value));
|
||||
delegate.toJson(writer, new Envelope<>(value));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user