Merge pull request #353 from square/eric.20170925.unwrap-write
Fix not writing value to JsonWriter in example.
This commit is contained in:
commit
f5ceb91e0f
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue