mirror of
https://github.com/fankes/moshi.git
synced 2025-10-18 23:49:21 +08:00
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 {
|
@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